Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
Classes
ActionItem
ActionItem
Represents an action item in the action bar.
Summary
Constructors
Properties
69 properties inherited from ViewBase
Click to expand
Constructors
constructor
new ActionItem(): ActionItem
Returns ActionItem
Properties
android
Gets the Android specific options of the action item.
icon
Gets or sets the icon of the action item.
ios
Gets the iOS specific options of the action item.
text
Gets or sets the text of the action item.
visibility
Gets or sets the visibility of the action item.
Methods
on
on(eventNames: string, callback: (data: EventData) => void): void
A basic method signature to hook an event listener (shortcut alias to the addEventListener method).
Parameter | Default | Description |
eventNames |
| string String corresponding to events (e.g. "propertyChange"). Optionally could be used more events separated by `,` (e.g. "propertyChange", "change"). |
callback |
| (data: EventData) => void Callback function which will be executed when event is raised. |
Returns void
- Previous
- ActionBar
- Next
- ActionItems