Love your plugin so far. I found myself making game-time adjustments to allow for custom checkboxes which I prefer to do with CSS only. However, this is only possible if the html structure is such that the label follows the checkbox input, and the label has a "for" attribute which matches the input id attribute. If you're unfamiliar with the technique, here is an article that does a good job of covering it:
https://medium.com/claritydesignsystem/pure-css-accessible-checkboxes-and-radios-buttons-54063e759bb3
I've provided one possible solution for this idea. If you have any objections or suggestions please let me know so I can update my code.
My hope is that you'll integrate this suggestion and I can keep my plugin on the main stream vs having a custom plugin to maintain.
Hello,
Love your plugin so far. I found myself making game-time adjustments to allow for custom checkboxes which I prefer to do with CSS only. However, this is only possible if the html structure is such that the label follows the checkbox input, and the label has a "for" attribute which matches the input id attribute. If you're unfamiliar with the technique, here is an article that does a good job of covering it: https://medium.com/claritydesignsystem/pure-css-accessible-checkboxes-and-radios-buttons-54063e759bb3
I've provided one possible solution for this idea. If you have any objections or suggestions please let me know so I can update my code.
My hope is that you'll integrate this suggestion and I can keep my plugin on the main stream vs having a custom plugin to maintain.