Skip to content

Releases: bpierre/vue-lanes

0.1.0

27 Mar 21:39
Compare
Choose a tag to compare

lanes:update and lanes:leave events

Two new events have been added, specific to defined routes:

lanes:update:{route_name}

This event will be triggered each time {route_name} is updated, e.g.

this.$on('lanes:update:foo', function(route) {
  // foo has been updated, and is the active route
});

lanes:leave:{route_name}

This event will be triggered when {route_name} is not the active route anymore.

this.$on('lanes:leave:foo', function(route) {
  // foo is not the active route, but you can still access it
});

miniroutes update

The miniroutes module has been updated, which means that route.value is now route.path.