• Returns a store, creates it if necessary.

    Parameters

    • Optional pinia: null | Pinia

      Pinia instance to retrieve the store

    • Optional hot: StoreGeneric

      dev only hot module replacement

    Returns Store<"grid", _UnwrapAll<Pick<{
        addGrid: ((value) => void);
        currentId: Ref<undefined | string>;
        getGridId: ((id) => undefined | string);
        grids: Ref<{
            [id: string]: GridConfig;
        }>;
        panel: Ref<undefined | PanelConfig>;
        removeGrid: ((id) => void);
        removeLayer: ((gridId, layerId) => void);
    }, "panel" | "grids" | "currentId">>, Pick<{
        addGrid: ((value) => void);
        currentId: Ref<undefined | string>;
        getGridId: ((id) => undefined | string);
        grids: Ref<{
            [id: string]: GridConfig;
        }>;
        panel: Ref<undefined | PanelConfig>;
        removeGrid: ((id) => void);
        removeLayer: ((gridId, layerId) => void);
    }, never>, Pick<{
        addGrid: ((value) => void);
        currentId: Ref<undefined | string>;
        getGridId: ((id) => undefined | string);
        grids: Ref<{
            [id: string]: GridConfig;
        }>;
        panel: Ref<undefined | PanelConfig>;
        removeGrid: ((id) => void);
        removeLayer: ((gridId, layerId) => void);
    }, "removeLayer" | "addGrid" | "removeGrid" | "getGridId">>

Generated using TypeDoc