Classes
ActionItems
Represents a collection of ActionItems.
Defined in: ui/action-bar/index.d.ts:93
Represents a collection of ActionItems.
Constructors
Constructor
new ActionItems(): ActionItems;Returns
ActionItems
Methods
addItem()
addItem(item: ActionItem): void;Defined in: ui/action-bar/index.d.ts:98
Adds an item to the collection.
Parameters
| Parameter | Type | Description |
|---|---|---|
item | ActionItem | the item to be added |
Returns
void
getItemAt()
getItemAt(index: number): ActionItem;Defined in: ui/action-bar/index.d.ts:115
Gets an item at a specified index.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index. |
Returns
getItems()
getItems(): ActionItem[];Defined in: ui/action-bar/index.d.ts:109
Gets an array of the current action items in the collection.
Returns
removeItem()
removeItem(item: ActionItem): void;Defined in: ui/action-bar/index.d.ts:104
Removes an item to the collection.
Parameters
| Parameter | Type | Description |
|---|---|---|
item | ActionItem | The item to be removed. |
Returns
void
- Previous
- ActionItem
- Next
- ActivityIndicator