Interface AngleMeasurementsPanelParams

Construction parameters for AngleMeasurementsPanel.

interface AngleMeasurementsPanelParams {
    container?: HTMLElement;
    storageKey?: string;
    tool: AngleMeasurementsTool;
    visible?: boolean;
}

Properties

container?: HTMLElement

DOM container for the panel and its reopen pill. Defaults to document.body.

storageKey?: string

localStorage key for the panel's drag-position and closed-state persistence. Defaults to "xkt-am-panel".

The tool whose measurements the panel lists. The panel is scoped to the tool's View for its per-View singleton registry.

visible?: boolean

Show on construction. Defaults to true. When false, the panel mounts hidden and the floating reopen pill is shown.