Skip to content
On this page

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}

NombreTipo
Idextiende string = string
Sextiende StateTree = StateTree
G_GettersTree<S>
A_ActionsTree

Accesores {#accessors}

route {#route}

get route(): RouteLocationNormalized

Retorna {#returns}

RouteLocationNormalized

set route(value): void

Parámetros {#parameters}

NombreTipo
valueRouteLocationNormalizedLoaded | Ref<RouteLocationNormalizedLoaded>

Retorna {#returns-1}

void

Lanzado bajo la Licencia MIT.