Appearance
crelte / / onRoute
function onRoute(fn): void;
Listen for route changes
route: Route
This only works during component initialisation.
(route) => void
route
void