Skip to content

charton API


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

Function: defaultRailItems() ​

defaultRailItems(tools?): RailItem[]

Defined in: ui/src/rail.ts:163

The default tool rail: the cursor, tools (the built-in drawing tools by default) grouped into flyouts, the favourites toggle, magnet, lock and hide toggles, then undo, redo and remove all drawings at the bottom.

Parameters ​

tools? ​

readonly DrawingToolDef[] = builtinTools

Returns ​

RailItem[]