HostToolbarState
Everything an embedder needs to draw the host toolbar.
@internote/canvas-sdk/hostOn this page
import { HostToolbarState } from '@internote/canvas-sdk/host';#Fields
advanceMoves to the next step.
() => voidbackMoves to the previous step.
() => voiditemsEvery environment's items in the scene, with the reserved slots already resolved: the identity labels, the scene's one view group, then each environment's own items, ids namespaced by environment.
ToolbarItem[]playbackThe playback control's state;
null when the current step has nothing to play.HostPlaybackState | nullpresentingWhether the scene is being presented.
booleanstepThe scene's current step.
numberstepCountHow many steps the scene has.
numbertaskWhere the reader stands on the scene's tasks together, or
null when it is not a task scene.correctincorrectpartialincompletetogglePresentEnters or leaves presentation.
() => voidDeclared in packages/canvas-sdk/src/host/host-state.ts:54.