Method to enable or disable switch
barthamark opened this issue · comments
Márk Bartha commented
A disabled input initializes with an lcs_disabled
class but if you want to programmatically enable it you need to remove the class and also remove the disabled attribute from the input.
Adding .lcs_enable()
and .lcs_disable()
methods would wrap these two changes into one method.
Luca commented
Interesting. Most probably I'll implement them in upcoming v2