Events and Transitions in VueJS