Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 415 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 415 Bytes

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
});