Switch constructor interface

Hierarchy

  • MEUISwitchConstructor

Constructors

Constructors

  • Creates a new switch

    Parameters

    • label: string

      The label of the switch. Can use full HTML.

    • value: boolean

      The initial value of the switch.

    • Optional change: ((checkbox) => void)

      Change event when the switch is toggled.

        • (checkbox): void
        • Parameters

          Returns void

    Returns MEUISwitch

    A new switch.

Generated using TypeDoc