Question · Vue.js course · Module 5: Events & Forms

.once modifier

What does the .once modifier do?

Answer options

  • The handler will be called only on the first event
  • The event will be emitted only once per second
  • Only one element can have this handler
  • The handler can accept only one argument

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