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

How toast.show() works

Arrange the steps of how the toast.show() method works in the correct order:

Items to put in order

  • Set a setTimeout for removal
  • Generate a unique toast ID
  • Add the toast to a reactive array

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