Go back to Examples

v-scope

Versoly Attributes - Advanced

v-scope is used to add interactivity on the live site. Elements and its children won't be rendered statically.

                <!-- Code Editor -->
<div v-scope="{name: 'This is a name'}">
    <h1 v-html="name"></h1>
</div>

<!-- Published Code -->
<div v-scope="{name: 'This is a name'}">
    <h1 v-html="name"></h1>
</div>