- useLegendStore(pinia?, hot?): Store<"legend", _UnwrapAll<Pick<LegendStore,
| "children"
| "legendConfig"
| "headerControls"
| "multilineItems"
| "maxLines">>, Pick<LegendStore, never>, Pick<LegendStore, "addItem" | "removeItem" | "replaceItem">> Parameters
Optional
pinia: null | PiniaOptional
hot: StoreGeneric
Returns Store<"legend", _UnwrapAll<Pick<LegendStore,
| "children"
| "legendConfig"
| "headerControls"
| "multilineItems"
| "maxLines">>, Pick<LegendStore, never>, Pick<LegendStore, "addItem" | "removeItem" | "replaceItem">>
Properties
$id
$id: "legend"
Returns a store, creates it if necessary.