Documentación de la API / pinia / PiniaCustomProperties
Interfaz: PiniaCustomProperties<Id, S, G, A>
pinia.PiniaCustomProperties
Interfaz a extender por el usuario cuando agrega propiedades a través de plugins.
Tipado de los parámetros
Nombre | Tipo |
---|---|
Id | extiende string = string |
S | extiende StateTree = StateTree |
G | _GettersTree <S > |
A | _ActionsTree |
Accesos
route
• get
route(): RouteLocationNormalized
Retorna
RouteLocationNormalized
• set
route(value
): void
Parámetros
Nombre | Tipo |
---|---|
value | RouteLocationNormalizedLoaded | Ref <RouteLocationNormalizedLoaded > |
Retorna
void