Releases: swipely/aviator
Releases · swipely/aviator
Support cmd+clicking links
Merge pull request #32 from swipely/dont_hijack_cmd_click Dont hijack links when cmd+clicking
Add Exit Actions
When ever a route is matched collect exit
methods to run when leaving that action on later time.
This is useful for cleaning up things like setIntervals.
Here is an example configuration:
Aviator.setRoutes({
'/campaigns': {
target: CampaignsTarget,
'/': 'index',
'/add': { method: 'add', exit: 'addExit' }
}
});
Fix to resolve fragment match failures at ends of a URI
v0.3.5 Bump version for bower
Browser history includes initial page load for all browsers
Chrome stopped firing the onPopState event on initial page load. This release stops correcting for that event.
Decode uri components
v0.3.3 Merge pull request #24 from swipely/fix_query_param_not_decoding_uri_…
Encode named paerams
v0.3.2 encodeURIComponent for named params
Complete params support for Aviator.navigate
Merge pull request #23 from swipely/navigate_with_named_params Navigate with named params
Aviator.navigate improvements
Use Aviator.navigate to serialize queryParams into the query string like so:
// navigate to url to "/users?filter[]=1&filter[]=2"
Aviator.navigate('/users', { queryParams: { filter: [1,2] }});
Change the URI without triggering your RouteTarget action to be called:
Aviator.navigate('/users', { silent: true });