Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
Classes
ActionItems
ActionItems
Represents a collection of ActionItems.
Summary
Constructors
Constructors
constructor
new ActionItems(): ActionItems
Returns ActionItems
Methods
addItem
addItem(item: ActionItem): void
Adds an item to the collection.
Parameter | Default | Description |
item |
| the item to be added |
Returns void
getItemAt
getItemAt(index: number): ActionItem
Gets an item at a specified index.
Parameter | Default | Description |
index |
| number The index. |
Returns ActionItem
getItems
getItems(): ActionItem[]
Gets an array of the current action items in the collection.
Returns ActionItem[]
removeItem
removeItem(item: ActionItem): void
Removes an item to the collection.
Parameter | Default | Description |
item |
| The item to be removed. |
Returns void
- Previous
- ActionItem
- Next
- ActivityIndicator