- Preparing search index...
- The search index is not available
RAMP4 - v4.7.0
- useGridStore(pinia?, hot?): 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">>
-
Parameters
-
Optional
pinia: null | Pinia
-
Optional
hot: StoreGeneric
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">>
Returns a store, creates it if necessary.