| title | ActionItems |
|---|---|
| titleTemplate | title - API / NativeScript |
| description | Represents a collection of ActionItems. |
| contributors | false |
Defined in: ui/action-bar/index.d.ts:93
Represents a collection of ActionItems.
new ActionItems(): ActionItems;ActionItems
addItem(item: ActionItem): void;Defined in: ui/action-bar/index.d.ts:98
Adds an item to the collection.
| Parameter | Type | Description |
|---|---|---|
item |
ActionItem |
the item to be added |
void
getItemAt(index: number): ActionItem;Defined in: ui/action-bar/index.d.ts:115
Gets an item at a specified index.
| Parameter | Type | Description |
|---|---|---|
index |
number |
The index. |
getItems(): ActionItem[];Defined in: ui/action-bar/index.d.ts:109
Gets an array of the current action items in the collection.
removeItem(item: ActionItem): void;Defined in: ui/action-bar/index.d.ts:104
Removes an item to the collection.
| Parameter | Type | Description |
|---|---|---|
item |
ActionItem |
The item to be removed. |
void