Mashiane Expert Licensed User Longtime User Oct 31, 2021 #1 Hi there How can I set !important on a style with BANano.SetStyle(?)? I need to over-ride a style set on pre-defined css files. Im using a map then banano.tojson to convert the map to json. Thanks..
Hi there How can I set !important on a style with BANano.SetStyle(?)? I need to over-ride a style set on pre-defined css files. Im using a map then banano.tojson to convert the map to json. Thanks..
alwaysbusy Expert Licensed User Longtime User Nov 5, 2021 #2 SetStyle does not allow that in Javascript (it is ignored). I read somewhere it could be done with SetAttr after setting the style, but never tried it. The trick may be browser dependent. Alwaysbusy Upvote 0
SetStyle does not allow that in Javascript (it is ignored). I read somewhere it could be done with SetAttr after setting the style, but never tried it. The trick may be browser dependent. Alwaysbusy