Put in order · Vue.js course · Module 8: Slots & Dynamic Components

Conditional Teleport

Arrange the code for a conditional Teleport:

Items to put in order

  • </Teleport>
  • :disabled="isMobile">
  • <Teleport
  • to="body"
  • <Modal />

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