Created
February 27, 2020 11:27
-
-
Save Farmatique/fe6bcd495f9f79e330d6bcda7d0c5464 to your computer and use it in GitHub Desktop.
Vue.js issue with handling event on v-html rendering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| When trying to catch event that fires on rendering the v-html you should be aware of that its actually renders html ONLY AFTER ANIMATION/TRANSTION is finished. So, thats why you need to create setTimeout. Just try to omit <transition> and see that it catch rendering correctly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment