Skip to content
On this page

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

Released under the MIT License.