LocationRouter = require 'location-router'
router = new LocationRouter()
# Change url paths
router.go '/test'
router.go '/other_page'
# listen for url path changes
# returns RxJS Observable
router.getStream().subscribe (req) ->
{url, path, query, hostname} = req
forked from Zorium/location-router
-
Notifications
You must be signed in to change notification settings - Fork 0
License
claydotio/location-router
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- CoffeeScript 100.0%