November 2017
Beginner to intermediate
398 pages
8h 42m
English
For now, if you try the animation in the browser, it should only work in two cases:
If you switch between the overlays, the animation will not work. This is because of the way Vue updates the DOM; as we saw earlier in the The key special attribute section, it will reuse DOM elements as much as possible to optimize performance. In that case, we will need to use the key special attribute to give Vue a hint that we would like to treat the different overlays as separate elements. So, when we transition from one overlay to the other, both will be present in the DOM, and the animations can be played. ...
Read now
Unlock full access