interface RailOptions {
    cursorTarget?: HTMLElement;
    favorites?: readonly string[];
    tools?: readonly string[];
}

Properties

cursorTarget?: HTMLElement

The element the armed tool's cursor goes on: the chart container. The cursor rides a custom property the stylesheet reads, not the inline cursor, which the engine owns for its own hover hints.

favorites?: readonly string[]

Pins to start with when nothing is stored.

tools?: readonly string[]

Restrict the rail to these tool ids. Default: every registered tool the groups know.