BaseComboBoxDirective<T, O>
Extends
ComboBoxDirective<T,O>
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends ComboBoxItem | ComboBoxItem |
O extends BaseComboBoxDirectiveOptions<T> | BaseComboBoxDirectiveOptions<T> |
Constructors
Constructor
new BaseComboBoxDirective<T, O>(options): BaseComboBoxDirective<T, O>;
Parameters
| Parameter | Type |
|---|---|
options | O |
Returns
BaseComboBoxDirective<T, O>
Overrides
ComboBoxDirective<T, O>.constructor
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
_buttons | public | Set<Btn> | ComboBoxDirective._buttons |
id | readonly | string | ComboBoxDirective.id |
Accessors
buttons
Get Signature
get buttons(): Btn[];
Returns
Btn[]
Inherited from
ComboBoxDirective.buttons
searchPlaceholder
Get Signature
get searchPlaceholder(): string;
Returns
string
Inherited from
ComboBoxDirective.searchPlaceholder
subtitle
Get Signature
get subtitle(): string;
Returns
string
Inherited from
ComboBoxDirective.subtitle
title
Get Signature
get title(): string;
Returns
string
Inherited from
ComboBoxDirective.title
Methods
addButton()
addButton(btn): void;
Parameters
| Parameter | Type |
|---|---|
btn | Btn |
Returns
void
Inherited from
ComboBoxDirective.addButton
centerOnMobile()
centerOnMobile(): boolean;
Returns
boolean
Inherited from
ComboBoxDirective.centerOnMobile
dismiss()
dismiss(): void;
Returns
void
Inherited from
ComboBoxDirective.dismiss
getAllItems()
getAllItems(): T[];
Returns
T[]
getContent()
getContent(): Element;
Returns
Element
Overrides
ComboBoxDirective.getContent
getItems()
getItems(): T[];
Returns
T[]
getPosition()
getPosition(): MousePosition;
Returns
Inherited from
ComboBoxDirective.getPosition
getSelected()
getSelected(): T[];
Returns
T[]
Inherited from
ComboBoxDirective.getSelected
selectItem()
selectItem(key): void;
Parameters
| Parameter | Type |
|---|---|
key | string |
Returns
void
setParent()
setParent(parent): void;
Parameters
| Parameter | Type |
|---|---|
parent | any |
Returns
void
Inherited from
ComboBoxDirective.setParent
setSearch()
setSearch(search): void;
Parameters
| Parameter | Type |
|---|---|
search | string |
Returns
void
Overrides
ComboBoxDirective.setSearch
setSelected()
setSelected(items): void;
Parameters
| Parameter | Type |
|---|---|
items | T[] |
Returns
void
Overrides
ComboBoxDirective.setSelected
showSearch()
showSearch(): boolean;
Returns
boolean