Options
All
  • Public
  • Public/Protected
  • All
Menu

Button

Hierarchy

  • IButton

Index

Properties

disable

disable: () => void

Disables the button.

Type declaration

    • (): void
    • Returns void

dispose

dispose: () => void

Disposes the button.

Type declaration

    • (): void
    • Returns void

el

el: HTMLAnchorElement | HTMLButtonElement

The element.

enable

enable: () => void

Enables the button.

Type declaration

    • (): void
    • Returns void

hide

hide: () => void

Hides the button.

Type declaration

    • (): void
    • Returns void

setText

setText: (btnText?: string) => void

Updates the button text.

Type declaration

    • (btnText?: string): void
    • Parameters

      • Optional btnText: string

      Returns void

setType

setType: (btnType: number) => void

Updates the button type.

Type declaration

    • (btnType: number): void
    • Parameters

      • btnType: number

      Returns void

show

show: () => void

Shows the button.

Type declaration

    • (): void
    • Returns void

toggle

toggle: () => void

Toggles push state. Gives the button the appearance that it has been activated.

Type declaration

    • (): void
    • Returns void

Generated using TypeDoc