/iron-location

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

Primary LanguageJavaScriptMIT LicenseMIT

Iron.Location

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

Example

Deps.autorun(function () {
  // returns a "location" like object with all of the url parts
  var current = Iron.Location.get();

  var href = current.href;
  var state = current.state;
  var host = current.host;
  // etc
});