Router
Router register the event-listener for hashchange-event and handles route-changes. Therefore, it uses a Route object which can Route.serialize and Route.deserialize the given type.
Parameters
type to marshal and unmarshal
Constructors
Functions
Default error handler printing the error to console.
Factory method to create a SimpleHandler that does not take an Action
Factory method to create a SimpleHandler mapping the actual value of the Store and a given Action to a new value.
factory method to create an EmittingHandler that does not take an action in it's execute-lambda.
Factory method to create a EmittingHandler taking an action-value and the current store value to derive the new value. An EmittingHandler is a Flow by itself and can therefore be connected to other SimpleHandlers even in other Stores.
Properties
Navigates to the new given route provided as T.
a simple SimpleHandler that just takes the given action-value as the new value for the Store.