DrawerJs
DrawerJs copied to clipboard
How to set solid color as Backgrounds !
Just wondering how can i set a background solid color. I want this feature on initialize and also after initializing the user can pick from a predefined list of colors.
backgroundCss in https://github.com/carstenschaefer/DrawerJs/wiki/Appearance Is not this what you want??
I am trying to use it like this while initializing the Drawer JS, but its not working is that the right way? and if i want to change the background after init how would i do that ?
new DrawerJs.Drawer(null, {
plugins: drawerPlugins,
backgroundCss: 'url(' + globalURL + '/' + 'web/images/blue.png) repeat',
...MORE CODE HERE
})