@relisa/gui4vega - v0.1.0
    Preparing search index...

    Interface VegaEditorProps

    Props for VegaEditor.

    interface VegaEditorProps {
        height: string;
        width?: string;
        importedData?: ImportedData;
        hideControls?: boolean | HideControls;
        theme?: "light" | "dark" | "auto";
    }
    Index

    Properties

    height: string

    Required editor container height. Expects CSS value, for example "700px" or "80vh".

    width?: string

    Optional editor container width. Expects CSS value, for example "100%" or "1200px".

    importedData?: ImportedData

    Optional imported data used to initialize the editor state. If not provided, the editor will initialize with a default Vega spec.

    hideControls?: boolean | HideControls

    Hides all control butons when true. Object specifies which controls to hide individually.

    theme?: "light" | "dark" | "auto"

    Optional editor color theme mode.

    • light forces Ant Design light algorithm.
    • dark forces Ant Design dark algorithm.
    • auto keeps the inherited default token behavior.
    'auto'