Skip to content

charton API


charton API / @chart-on/ui / index / replayToolbarItem

Function: replayToolbarItem() ​

replayToolbarItem(): ToolbarItem

Defined in: ui/src/replay.ts:93

The top-bar button for bar replay (view group, see roadmap/toolbar-layout.md): press it, then click the bar to start from; press it again to stop. Pair it with createReplayControls (the shell mounts them) for play, pause, step and speed while replaying.

Returns ​

ToolbarItem