“V-on taquigrafía” Código de respuesta

taquigrafía de unión en V

<!-- full syntax -->
<a v-bind:href="url"> ... </a>

<!-- shorthand -->
<a :href="url"> ... </a>

<!-- shorthand with dynamic argument (2.6.0+) -->
<a :[key]="url"> ... </a>
Thankful Tarantula

V-on taquigrafía

<!-- full syntax -->
<a v-on:click="doSomething"> ... </a>

<!-- shorthand -->
<a @click="doSomething"> ... </a>

<!-- shorthand with dynamic argument (2.6.0+) -->
<a @[event]="doSomething"> ... </a>
Splendid Seahorse

Respuestas similares a “V-on taquigrafía”

Preguntas similares a “V-on taquigrafía”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código