[]
        
(Showing Draft Content)

Toolbar

Namespace: Toolbar

Table of contents

Classes

Type aliases

Type aliases

ToolbarItem

Ƭ ToolbarItem: Object

Defines the toolbar item settings and behavior.

Type declaration

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>

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:1743


ToolbarLayout

Ƭ ToolbarLayout: Object

Describes the toolbar items layout (order and visibility) for different view models.

Type declaration

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.

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:1758