Skip to content
On this page

Class: ActionBarListener

ThirdRoom.ActionBarListener

An ActionBarListener is used to listen for actions triggered in the action bar. The .actions() method should be called each frame to drain the action bar's action queue. If you are done with the action queue, call .dispose() to dispose the listener.

Table of contents

Constructors

Methods

Constructors

constructor

new ActionBarListener()

Methods

actions

actions(): ActionBarIterator

Returns an iterator over the actions triggered in the action bar since the last call to this method.

Returns

ActionBarIterator

Defined in

websg.d.ts:2657


dispose

dispose(): undefined

Disposes the action bar listener.

Returns

undefined

Defined in

websg.d.ts:2662