https://github.com/tmeasday/meteor-location
https://github.com/tmeasday/meteor-location
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tmeasday/meteor-location
- Owner: tmeasday
- Created: 2013-04-08T14:49:03.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-04-10T00:03:11.000Z (about 12 years ago)
- Last Synced: 2025-02-06T07:46:41.922Z (5 months ago)
- Language: JavaScript
- Size: 108 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Meteor.Location
==============
A reactive wrapper of `window.location` and the history API.It automatically intercepts all `` links to the current domain without modifier keys, pushes the old request to the history and sets the intercepted location as current target.
All methods in this class are either reactive (`get*`) or invalidating (`set*`). All functions provide access to the same dependency - the current location. So if you change any part, all `get*`-methods will be invalidated and recalculated.