Put in order · Vue.js course · Module 7: Props & Events

Validated prop definition

Arrange the prop definition with validation:

Items to put in order

  • type: Number,
  • validator: (v) => v >= 0,
  • }
  • delay: {

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