Flip SwitchΒΆ
jQuery Plugin
$.fn.flipswitch()
jQuery data key
IU_WIDGET.FLIPSWITCH
- Example
var Switch = $('#id').data(IU_WIDGET.FLIPSWITCH)
Method
Method Description .toggle(state, duration)
Change show/hide state Method Detail
Method Param Type Description Default .toggle(state)
state bool Show if state is true, hide otherwise duration number Duration with animation 300ms