clinical:router-location

v2.1.0Published 8 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

clinical:router-location

Reactive urls that work with IE8/9 and modern pushState browsers.

===============================

Installation

This package is a dependency of clinical:router. Just install the router package, and you'll get this included.

meteor add clinical:router

===============================

Usage

1Tracker.autorun(function () {
2  // returns a "location" like object with all of the url parts
3  var current = Iron.Location.get();
4
5  var auth = current.auth;
6  var path = current.path;
7  var state = current.state;
8  var port = current.port;
9  // etc
10});

===============================

Licensing

MIT License