- useAppbarStore(pinia?, hot?): Store<"appbar", _UnwrapAll<Pick<{
addTempButton: ((value: string) => void);
items: Ref<AppbarItemSet, AppbarItemSet>;
order: Ref<string[][], string[][]>;
removeButton: ((value: string) => void);
temporary: Ref<string[], string[]>;
visible: ComputedRef<(string | AppbarItemInstance)[][]>;
}, "items" | "order" | "temporary">>, Pick<{
addTempButton: ((value: string) => void);
items: Ref<AppbarItemSet, AppbarItemSet>;
order: Ref<string[][], string[][]>;
removeButton: ((value: string) => void);
temporary: Ref<string[], string[]>;
visible: ComputedRef<(string | AppbarItemInstance)[][]>;
}, "visible">, Pick<{
addTempButton: ((value: string) => void);
items: Ref<AppbarItemSet, AppbarItemSet>;
order: Ref<string[][], string[][]>;
removeButton: ((value: string) => void);
temporary: Ref<string[], string[]>;
visible: ComputedRef<(string | AppbarItemInstance)[][]>;
}, "addTempButton" | "removeButton">> Parameters
Optional
pinia: null | PiniaOptional
hot: StoreGeneric
Returns Store<"appbar", _UnwrapAll<Pick<{
addTempButton: ((value: string) => void);
items: Ref<AppbarItemSet, AppbarItemSet>;
order: Ref<string[][], string[][]>;
removeButton: ((value: string) => void);
temporary: Ref<string[], string[]>;
visible: ComputedRef<(string | AppbarItemInstance)[][]>;
}, "items" | "order" | "temporary">>, Pick<{
addTempButton: ((value: string) => void);
items: Ref<AppbarItemSet, AppbarItemSet>;
order: Ref<string[][], string[][]>;
removeButton: ((value: string) => void);
temporary: Ref<string[], string[]>;
visible: ComputedRef<(string | AppbarItemInstance)[][]>;
}, "visible">, Pick<{
addTempButton: ((value: string) => void);
items: Ref<AppbarItemSet, AppbarItemSet>;
order: Ref<string[][], string[][]>;
removeButton: ((value: string) => void);
temporary: Ref<string[], string[]>;
visible: ComputedRef<(string | AppbarItemInstance)[][]>;
}, "addTempButton" | "removeButton">>
Properties
$id
$id: "appbar"
Returns a store, creates it if necessary.