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

NameType
Idextends string = string
Sextends StateTree = StateTree
G_GettersTree<S>
A_ActionsTree

Accessors

route

get route(): RouteLocationNormalized

Returns

RouteLocationNormalized

set route(value): void

Parameters

NameType
valueRouteLocationNormalizedLoaded | Ref<RouteLocationNormalizedLoaded>

Returns

void