Partager via


IViewNavigator interface

Propriétés décrivant un ViewNavigator

Propriétés

currentId

Obtenir l’ID de l’affichage actuellement rendu en haut de la pile d’affichage

size

Taille actuelle de la pile d’affichage.

Méthodes

pop(skipUpdate)
push(id, skipUpdate)
register(id, initializer)
replace(id, skipUpdate)

Détails de la propriété

currentId

Obtenir l’ID de l’affichage actuellement rendu en haut de la pile d’affichage

currentId: string | undefined;

Valeur de propriété

string | undefined

Remarques

Si la pile est vide, cela retourne undefined

size

Taille actuelle de la pile d’affichage.

size: number;

Valeur de propriété

number

Détails de la méthode

pop(skipUpdate)

pop(skipUpdate?: boolean): void;

Paramètres

skipUpdate

boolean

Retours

void

push(id, skipUpdate)

push(id: string, skipUpdate?: boolean): void;

Paramètres

id

string

skipUpdate

boolean

Retours

void

register(id, initializer)

register(id: string, initializer: () => TView | Promise<TView>): void;

Paramètres

id

string

initializer

() => TView | Promise<TView>

Retours

void

replace(id, skipUpdate)

replace(id: string, skipUpdate?: boolean): void;

Paramètres

id

string

skipUpdate

boolean

Retours

void