This class wraps the platform Navigation API which allows server-specific and test implementations.
entries
NavigationHistoryEntry[]
@returns
NavigationHistoryEntry[]
currentEntry
any
updateCurrentEntry
void
@paramoptions
NavigationUpdateCurrentEntryOptions
@returns
void
transition
any
canGoBack
boolean
canGoForward
boolean
reload
NavigationResult
@paramoptions
any
@returns
NavigationResult
traverseTo
NavigationResult
@paramkey
string
@paramoptions
any
@returns
NavigationResult
back
NavigationResult
@paramoptions
any
@returns
NavigationResult
forward
NavigationResult
@paramoptions
any
@returns
NavigationResult
oncurrententrychange
((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null
addEventListener
void
@paramtype
unknown
@paramlistener
unknown
@paramoptions
unknown
@returns
void
removeEventListener
void
@paramtype
unknown
@paramlistener
unknown
@paramoptions
unknown
@returns
void
dispatchEvent
boolean
@paramevent
Event
@returns
boolean
Description
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