Interface ExportDialogParams

interface ExportDialogParams {
    container?: HTMLElement;
    defaultDatasets?: string[];
    storageKey?: string;
    studio: Studio;
    visible?: boolean;
}

Properties

container?: HTMLElement

DOM container; defaults to document.body.

defaultDatasets?: string[]

Initial pre-selected dataset descriptors. Defaults to ["xgf,datamodel"] — the most common round-trip path in the SDK demos.

storageKey?: string

localStorage key for persisting drag position + closed state. Defaults to "xkt-exp-dialog".

studio: Studio

Helper whose scene.models / data.models populate the model picker. Doubles as the WeakMap key for ExportDialog.openFor idempotence — one dialog per helper.

visible?: boolean

Show on construction (default true).