Click in order · Vue.js course · Module 9: Composables & VueUse

Using Event Bus Composable

Arrange the steps for subscribing and emitting an event:

Items to click

  • useEventBus()
  • const unsub = on('event',
  • (data) => { ... })
  • const { emit, on } =

You can check the correct answer by solving this task in the CodeWorlds game.