Static GitHub Issues

[566] specific transitions for different route within page component

prev: Pages bundles. How to combine them selectively?
next: customize store namespaced

since theres no direct access to "this" in the transition object / js hooksof a page, is it even possible to create custom enter and leave transitions with javascript hooks instead of css, or different transition names?

i'm doing this with plain vue.js this way:

router-view.view(ref='page')

then:

enter (el, done) {
  this.$refs.page.enter
  ? this.$refs.page.enter(el, done)
  : TweenLite.from(el, 0.5, { alpha: 0, onComplete: done() })
}
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c490">#c490</a>)</em></sub></div>