Interface DrawingsPanelParams

interface DrawingsPanelParams {
    container?: HTMLElement;
    storageKey?: string;
    studio: Studio;
    visible?: boolean;
}

Properties

container?: HTMLElement

DOM container; defaults to document.body.

storageKey?: string

localStorage key for persisting drag position + closed state. Defaults to "xkt-bp-panel".

studio: Studio

Studio whose Scene the panel manages drawings for. Doubles as the WeakMap key for DrawingsPanel.openFor idempotence — one panel per helper.

visible?: boolean

Show on construction (default true).