Skip to main content

SimpleComboBoxDirective<T>

Extends

Type Parameters

Type ParameterDefault type
T extends ComboBoxItemComboBoxItem

Constructors

Constructor

new SimpleComboBoxDirective<T>(options): SimpleComboBoxDirective<T>;

Parameters

ParameterType
optionsSimpleComboBoxDirectiveOptions<T>

Returns

SimpleComboBoxDirective<T>

Overrides

BaseComboBoxDirective.constructor

Properties

PropertyModifierTypeInherited from
_buttonspublicSet<Btn>BaseComboBoxDirective._buttons
idreadonlystringBaseComboBoxDirective.id

Accessors

buttons

Get Signature

get buttons(): Btn[];
Returns

Btn[]

Inherited from

BaseComboBoxDirective.buttons


searchPlaceholder

Get Signature

get searchPlaceholder(): string;
Returns

string

Inherited from

BaseComboBoxDirective.searchPlaceholder


subtitle

Get Signature

get subtitle(): string;
Returns

string

Inherited from

BaseComboBoxDirective.subtitle


title

Get Signature

get title(): string;
Returns

string

Inherited from

BaseComboBoxDirective.title

Methods

addButton()

addButton(btn): void;

Parameters

ParameterType
btnBtn

Returns

void

Inherited from

BaseComboBoxDirective.addButton


centerOnMobile()

centerOnMobile(): boolean;

Returns

boolean

Inherited from

BaseComboBoxDirective.centerOnMobile


dismiss()

dismiss(): void;

Returns

void

Inherited from

BaseComboBoxDirective.dismiss


getAllItems()

getAllItems(): T[];

Returns

T[]

Inherited from

BaseComboBoxDirective.getAllItems


getContent()

getContent(): Element;

Returns

Element

Inherited from

BaseComboBoxDirective.getContent


getItems()

getItems(): T[];

Returns

T[]

Inherited from

BaseComboBoxDirective.getItems


getPosition()

getPosition(): MousePosition;

Returns

MousePosition

Inherited from

BaseComboBoxDirective.getPosition


getSelected()

getSelected(): T[];

Returns

T[]

Inherited from

BaseComboBoxDirective.getSelected


getSelectedItem()

getSelectedItem(): T;

Returns

T


selectItem()

selectItem(key): void;

Parameters

ParameterType
keystring

Returns

void

Inherited from

BaseComboBoxDirective.selectItem


setParent()

setParent(parent): void;

Parameters

ParameterType
parentany

Returns

void

Inherited from

BaseComboBoxDirective.setParent


setSearch()

setSearch(search): void;

Parameters

ParameterType
searchstring

Returns

void

Inherited from

BaseComboBoxDirective.setSearch


setSelected()

setSelected(items): void;

Parameters

ParameterType
itemsT[]

Returns

void

Overrides

BaseComboBoxDirective.setSelected


showSearch()

showSearch(): boolean;

Returns

boolean

Inherited from

BaseComboBoxDirective.showSearch