Documentación de la API / pinia / PiniaCustomProperties
Interfaz: PiniaCustomProperties<Id, S, G, A> {#interface-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 {#type-parameters}
Nombre | Tipo |
---|---|
Id | extiende string = string |
S | extiende StateTree = StateTree |
G | _GettersTree <S > |
A | _ActionsTree |
Accesores {#accessors}
route {#route}
• get
route(): RouteLocationNormalized
Retorna {#returns}
RouteLocationNormalized
• set
route(value
): void
Parámetros {#parameters}
Nombre | Tipo |
---|---|
value | RouteLocationNormalizedLoaded | Ref <RouteLocationNormalizedLoaded > |
Retorna {#returns-1}
void