[][src]Module seed::browser::service::routing

Functions

push_route

Add a new route using history's push_state method.

setup_hashchange_listener

Add a listener that handles routing when the url hash is changed.

setup_link_listener

Set up a listener that intercepts clicks on elements containing an Href attribute, so we can prevent page refresh for internal links, and route internally. Run this on load.

setup_popstate_listener

Add a listener that handles routing for navigation events like forward and back.