Skip to content
On this page

Interface: ActionBarItem ​

ThirdRoom.ActionBarItem

Represents an item in the action bar.

Table of contents ​

Properties ​

Properties ​

id ​

• id: string

Used to identify the action when it is triggered.

Defined in ​

websg.d.ts:2680


label ​

• label: string

Used to display what the action does when hovering over an action.

Defined in ​

websg.d.ts:2684


thumbnail ​

• thumbnail: Image

Used to display an icon in the action bar. Note that the thumbnail must be a square uncompressed image (e.g. .png or .jpg) Basis Universal compressed images (e.g. .ktx2) are not supported.

Defined in ​

websg.d.ts:2690