Home

Class mvc.Router

Instance Method Summary
navigate(string fragment)

pass through the fragment for the URL

onChange_()
route((RegExp|null|string) route, ?Function fn)

define route as string or regex. /:abc/ will pass "abc" through as an argument. *abc/def will pass through all after the * as an argument