Put in order · Vue.js course · Module 14: Directives & Plugins

Calling inject in a component

Arrange the correct inject call to retrieve the toast:

Items to put in order

  • )
  • const toast
  • 'toast'
  • = inject(

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