1.6.0 • Published 2 days ago
@unseenco/taxi v1.6.0
Taxi is a js library for adding AJAX navigation and beautiful transitions to your website.
It was designed as a drop-in replacement for Highway.js which is sadly no longer maintained.
Enhancements over Highway:
- URL-based routing
- Better cache management
- Ability to preload URLs
- Blocks navigation during an active transition (can be opted out)
- Auto runs javascript on the new page
- Previous page's content is automatically removed (you can opt out of this if you like)
- Click events on links can be intercepted via
stopPropagation
without hacks
Differences to Highway
- Different public API
- New methods and functionality
data-taxi
,data-taxi-view
,data-taxi-ignore
are to be used instead ofdata-router-wrapper
,data-router-view
,data-router-disabled
respectively.attach
anddetach
are no longer methods - link clicks are listened to via delegation so these are no longer needed.redirect
is nownavigateTo
as "redirect" felt weird as a method name!- Renderers now have an
initialLoad
method - The params passed to renderers, transitions, and events are now a little different
- Old content is automatically removed during a transition - so no need to manually call
from.remove()
in your transitions.
1.6.0
2 days ago
1.5.3
2 months ago
1.5.2
2 months ago
1.5.1
8 months ago
1.5.0
9 months ago
1.4.0
10 months ago
1.4.0-rc.0
10 months ago
1.3.0
12 months ago
1.2.2
1 year ago
1.2.1
1 year ago
1.2.0
2 years ago
1.1.0
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.5.0
2 years ago
0.6.0
2 years ago
0.5.1
2 years ago
0.4.0
2 years ago
0.3.1
2 years ago
0.3.0
2 years ago
0.1.10
2 years ago
0.1.11
2 years ago
0.1.12
2 years ago
0.2.1
2 years ago
0.1.2
2 years ago
0.2.0
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.9
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago