The listener callback.
The path to navigate to.
Optional
options: AddEventListenerOptionsThe optional parameter to customize the behavior of the listener. It supports all the parameters of addEventListener function.
Adds a listener to the popstate
event executed each time the event is
fired. This function is designed to be used in conjunction with the Router.resolve
method.
The type of the context data. It should be
serializable
and match the C
type parameter of the Router.
The listener callback.
The path to navigate to.
Any data that needs to be sent to Route.action.
The type of this parameter should match the generic C
. If C
is not
provided or is equal to EmptyObject, providing this parameter is
forbidden.
Optional
options: AddEventListenerOptionsThe optional parameter to customize the behavior of the listener. It supports all the parameters of addEventListener function.
Adds a listener to the
popstate
event executed each time the event is fired. This function is designed to be used in conjunction with the Router.resolve method.