API Documentation / pinia / PiniaCustomProperties
Interface: PiniaCustomProperties<Id, S, G, A> ¶
pinia.PiniaCustomProperties
Interface to be extended by the user when they add properties through plugins.
Type parameters ¶
Name | Type |
---|---|
Id | extends string = string |
S | extends StateTree = StateTree |
G | _GettersTree <S > |
A | _ActionsTree |
Accessors ¶
route ¶
• get
route(): RouteLocationNormalized
Returns ¶
RouteLocationNormalized
• set
route(value
): void
Parameters ¶
Name | Type |
---|---|
value | RouteLocationNormalizedLoaded | Ref <RouteLocationNormalizedLoaded > |
Returns ¶
void