Class SwitchBridge.Api

  • Enclosing class:
    SwitchBridge

    @JsType(isNative=true)
    public static class SwitchBridge.Api
    extends Object
    • Constructor Detail

      • Api

        public Api()
    • Method Detail

      • element

        @JsMethod(namespace="<global>",
                  name="$")
        public static SwitchBridge.Api element​(elemental2.dom.HTMLInputElement element)
      • bootstrapSwitch

        public boolean bootstrapSwitch​(String method)
      • bootstrapSwitch

        public void bootstrapSwitch​(String method,
                                    boolean param)
      • destroy

        @JsOverlay
        public final void destroy()
      • getValue

        @JsOverlay
        public final boolean getValue()
      • setValue

        @JsOverlay
        public final void setValue​(boolean value)
      • setEnable

        @JsOverlay
        public final void setEnable​(boolean enabled)
      • isEnable

        @JsOverlay
        public final boolean isEnable()