Class: ActionBar
ThirdRoom.ActionBar
Represents the action bar at the bottom of the screen. Items can be set via the setItems method. You can listen for triggered actions by creating a new listener via the createListener method.
Table of contents
Constructors
Methods
Constructors
constructor
• new ActionBar()
Methods
createListener
▸ createListener(): ActionBarListener
Creates a new ActionBarListener for the action bar.
Returns
Defined in
setItems
▸ setItems(items
): undefined
Replaces the items in the action bar with the given items.
Parameters
Name | Type | Description |
---|---|---|
items | ActionBarItem [] | The ActionBarItems to set. |
Returns
undefined