This class wraps the platform Navigation API which allows server-specific and test implementations.
entries
NavigationHistoryEntry[]@returns
NavigationHistoryEntry[]currentEntry
anyupdateCurrentEntry
void@paramoptions
NavigationUpdateCurrentEntryOptions@returns
voidtransition
anycanGoBack
booleancanGoForward
booleanreload
NavigationResult@paramoptions
any@returns
NavigationResulttraverseTo
NavigationResult@paramkey
string@paramoptions
any@returns
NavigationResultback
NavigationResult@paramoptions
any@returns
NavigationResultforward
NavigationResult@paramoptions
any@returns
NavigationResultoncurrententrychange
((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | nulladdEventListener
void@paramtype
unknown@paramlistener
unknown@paramoptions
unknown@returns
voidremoveEventListener
void@paramtype
unknown@paramlistener
unknown@paramoptions
unknown@returns
voiddispatchEvent
boolean@paramevent
Event@returns
booleanDescription
This class wraps the platform Navigation API which allows server-specific and test implementations.
Browser support is limited, so this API may not be available in all environments, may contain bugs, and is experimental.
Jump to details