Question · Svelte and SvelteKit course · Module 5: Bindings

What bind:this Is For

What is bind:this used for?

Answer options

  • For binding an input's value
  • For getting a reference to a DOM element
  • For creating reactive variables
  • For defining props

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