P
P
Pavel Kornilov2019-03-28 13:17:55
Animation
Pavel Kornilov, 2019-03-28 13:17:55

Vue. How to animate content change using the updated hook?

Hello!
Just studied the transition spec, but didn't find any example of animating content change inside a component. The content is changed by the updated hook - html is redrawn by ajax, the component is static.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-03-28
@KorniloFF

What does updated have to do with it, I honestly did not really understand.
Wrap your content in a transition, put a key. For example .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question