Put in order · Vue.js course · Module 7: Props & Events
Custom event flow
Arrange the steps of the custom event flow:
Items to put in order
- Child: emit('update', data)
- Parent: @update="handler"
- Parent: execute handler(data)
- Child: defineEmits(['update'])
You can check the correct answer by solving this task in the CodeWorlds game.