@nospamproxy/core
    Preparing search index...

    A generic dropdown that can be used as a more customizable alternative to the regular custom-elements/controls/Dropdown/Dropdown!Dropdown | Dropdown.

    It is recommended to use DropdownContent, GenericDropdownContent or DropdownItems or any combination of these elements in the content slot.

    <generic-dropdown>
    <normal-text value="Custom dropdown"></normal-text>
    <dropdown-content au-slot="content" items.bind="items">
    <additional-dropdown-content>
    <normal-text value="Help text above the dropdown items..."></normal-text>
    </additional-dropdown-content>
    </dropdown-content>
    </generic-dropdown>
    <generic-dropdown>
    <normal-text value="Custom dropdown"></normal-text>
    <generic-dropdown-content au-slot="content">
    <normal-text value="Custom content"></normal-text>
    </generic-dropdown-content>
    </generic-dropdown>
    <generic-dropdown>
    <normal-text value="Custom dropdown"></normal-text>
    <dropdown-items au-slot="content">
    ...
    </dropdown-items>
    </generic-dropdown>

    Implements

    • ICustomElementViewModel
    Index

    Constructors

    Properties

    disabled: boolean = false
    fullWidth: boolean = true
    isMultiSelect: boolean = false
    labelId?: string
    labelText?: string

    Accessibility

    stateChanged?: (popout: PopoutControl) => void

    A function that is called when the dropdown is opened or closed.

    type: DropdownType = 'input'

    Set how the dropdown button looks.

    'input'
    

    Accessors

    • get stateChangedEvent(): string

      Returns string