Dropdown

Hierarchy

  • IDropdown

Properties

disable: (() => void)

Type declaration

    • (): void
    • Disables the dropdown.

      Returns void

el: HTMLElement

The element.

enable: (() => void)

Type declaration

    • (): void
    • Enables the dropdown.

      Returns void

getValue: (() => IDropdownItem | IDropdownItem[])

Type declaration

hide: (() => void)

Type declaration

    • (): void
    • Hides the dropdown.

      Returns void

isMulti: boolean

True if the dropdown is a multi-select.

popover: IPopover

The popover menu.

setItems: ((items) => void)

Type declaration

    • (items): void
    • Updates the dropdown items.

      Parameters

      Returns void

setLabel: ((value) => void)

Type declaration

    • (value): void
    • Updates the label of the dropdown.

      Parameters

      • value: string

      Returns void

setTheme: ((isDark) => void)

Type declaration

    • (isDark): void
    • Enables/Disables the dark theme.

      Parameters

      • isDark: boolean

      Returns void

setType: ((ddlType) => void)

Type declaration

    • (ddlType): void
    • Updates the dropdown type.

      Parameters

      • ddlType: number

      Returns void

setValue: ((value?) => void)

Type declaration

    • (value?): void
    • Sets the dropdown value.

      Parameters

      • Optional value: any

      Returns void

show: (() => void)

Type declaration

    • (): void
    • Shows the dropdown.

      Returns void

toggle: (() => void)

Type declaration

    • (): void
    • Toggles the dropdown menu of a given navbar or tabbed navigation.

      Returns void

Generated using TypeDoc