Introduction
As Vue.js plugin for listening to css transition end events in components. Adds this.$nextTransitionEnd() and this.$onTransitionEnd to Vue Components.
Usage
Vue
// Example plugin toggles a value on transition ends name: 'ExamplePlugin' { return value: false } methods: { thisvalue = !thisvalue } { // Run on next transition end, then detach event listener this } { // Run as long as element exists, and specify DOM element this }
Credits
License
The MIT License (MIT).