Static GitHub Issues

[1271] Transition - Access both from/to and element?

prev: switch page flash
next: Inability to use shortcut colon for v-bind in pages

I need to create a specific transition between the pages home and project using GSAP. But my problem is:

  • if I want to know in my transition the from, I need to use the transition function, but then I can't use GSAP on the page $el

  • and if i want to access the element using the transition object I don't have the from .

How can I do to have both?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1125">#c1125</a>)</em></sub></div>