Menu
×
×
Correct!
Exercise:With more than one root element in a component, like in the example below, we can define on which root element a fallthrough attribute should be applied. How can we define that the fallthrough attribute should be applied to the 'Cow' <div>?
<template>
<div>Goat</div>
<div v-bind="@(6)">Cow</div>
<div>Rabbit</div>
</template>
<template>
<div>Goat</div>
<div v-bind="$attrs">Cow</div>
<div>Rabbit</div>
</template>
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 54 exercises.
Are you sure you want to continue?