Constants

PARAM_ROUTE_NAME → dynamic

When navigating to default view it will get parameters {PARAM_ROUTE_NAME : PARAM_ROUTE_NAME_DEFAULT}

"_routeName"
PARAM_TAIL → dynamic

'_tail'

Classes

PageNavigator wires together History management, Route matching and View rendering. It manages url addresses and bind them to views. It updates url (replaceState, pushState) if the url params are changed in the view.

Route

Maps Map of variables to String Url component and vice versa.

Router

Router consists of multiple named Routes and provides methods for translating Routes to url/path and vice versa.

View

View is responsible for manipulating data received from server to be used for HTML. Methods of View are called when PageNavigator matches the corresponding route or when is navigated to different location.