• Returns a store, creates it if necessary.

    Parameters

    • Optionalpinia: null | Pinia

      Pinia instance to retrieve the store

    • Optionalhot: StoreGeneric

      dev only hot module replacement

    Returns Store<"legend", _UnwrapAll<Pick<LegendStore,
        | "children"
        | "legendConfig"
        | "headerControls"
        | "multilineItems"
        | "maxLines">>, Pick<LegendStore, never>, Pick<LegendStore, "addItem" | "removeItem" | "replaceItem">>

Properties

Properties

$id: "legend"

Id of the store. Used by map helpers.