[]
Ƭ ToolbarItem: Object
Defines the toolbar item settings and behavior.
| Name | Type |
|---|---|
checked? |
boolean |
enabled? |
boolean |
icon? |
Icon |
iconCssClass? |
string |
key |
string |
text? |
string |
title? |
string |
action? |
(curr?: ToolbarItem) => void | Partial<ToolbarItem> |
onUpdate? |
(args: ChangedEventArgs, curr: ToolbarItem) => void | Partial<ToolbarItem> |
node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:1743
Ƭ ToolbarLayout: Object
Describes the toolbar items layout (order and visibility) for different view models.
| Name | Type | Description |
|---|---|---|
default? |
string[] |
Default (desktop) view mode. Also applied when other modes are not specified. |
fullscreen? |
string[] |
The layout for the full-screen mode. |
mobile? |
string[] |
The toolbar layout for mobile devices. |
node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:1758