SwitchΒΆ

  1. jQuery Plugin

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

    IU_WIDGET.SWITCH

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

    Method Description
    .toggle(state) Change 1st item to 2nd item
  4. Method Detail

    Method Param Type Description
    .toggle(state) state bool Show 2nd item if state is true, hide 2nd item otherwise