Interface DropdownEntry

DropdownEntry defines the structure needed for a UI dropdown entry to be used for UIDropdown or a section of a UIGroupDropdown.

interface DropdownEntry {
    activeLabel?: DropdownEntryLabel;
    hidden?: boolean;
    id: string;
    label: DropdownEntryLabel;
}

Properties

activeLabel?: DropdownEntryLabel

activeLabel is displayed in the dropdown's button, when the entry is selected. In case activeLabel is not defined, it fall backs to label.

hidden?: boolean

hidden represents an optional parameter to hide an entry in the dropdown. It will then not render at all.

id: string

id declares an identificator for the dropdown entry.

label defines the entry's label to be used in the options dropdown. It can contain different data types, depending on what information we would like to show in the dropdown

Generated using TypeDoc