Flip SwitchΒΆ

  1. jQuery Plugin

    $.fn.flipswitch()
    
  2. jQuery data key

    IU_WIDGET.FLIPSWITCH

    • Example
    var Switch = $('#id').data(IU_WIDGET.FLIPSWITCH)
    
  3. Method

    Method Description
    .toggle(state, duration) Change show/hide state
  4. Method Detail

    Method Param Type Description Default
    .toggle(state) state bool Show if state is true, hide otherwise  
      duration number Duration with animation 300ms