Skip to main content

DropdownProps

@steambrew/client v4.2.1


Interface: DropdownProps

Defined in: src/components/Dropdown.ts:28

Extended by

Properties

contextMenuPositionOptions?

optional contextMenuPositionOptions: DropdownMenuPositionOptions;

Defined in: src/components/Dropdown.ts:35


disabled?

optional disabled: boolean;

Defined in: src/components/Dropdown.ts:31


focusable?

optional focusable: boolean;

Defined in: src/components/Dropdown.ts:39


optional menuLabel: string;

Defined in: src/components/Dropdown.ts:36


rgOptions

rgOptions: DropdownOption[];

Defined in: src/components/Dropdown.ts:29


selectedOption

selectedOption: any;

Defined in: src/components/Dropdown.ts:30


strDefaultLabel?

optional strDefaultLabel: string;

Defined in: src/components/Dropdown.ts:37

Methods

onChange()?

optional onChange(data: SingleDropdownOption): void

Defined in: src/components/Dropdown.ts:34

Parameters

data

SingleDropdownOption

Returns

void


onMenuOpened()?

optional onMenuOpened(): void

Defined in: src/components/Dropdown.ts:33

Returns

void


onMenuWillOpen()?

optional onMenuWillOpen(showMenu: () => void): void

Defined in: src/components/Dropdown.ts:32

Parameters

showMenu

() => void

Returns

void


renderButtonValue()?

optional renderButtonValue(element: ReactNode): ReactNode

Defined in: src/components/Dropdown.ts:38

Parameters

element

ReactNode

Returns

ReactNode