switchery icon indicating copy to clipboard operation
switchery copied to clipboard

no reset

Open lippor opened this issue 8 years ago • 3 comments

can't reset with reset() method

lippor avatar Sep 29 '16 03:09 lippor

@lippor There's no reset method. Let me know what you're trying to achieve and I will try to help.

abpetkov avatar Oct 31 '16 22:10 abpetkov

I also require a reset method when resetting/clearing a form etc.

In the same way that you have switchery.enable(); and switchery.disable(); it would most useful if there was a switchery.reset(); function to uncheck a switch.

garymould avatar Dec 01 '16 12:12 garymould

我也这么觉得! 如果添加了reset() 那么它将会更加有用的

MaxCode-fan avatar Oct 28 '19 09:10 MaxCode-fan