“V-ON stenograficzny” Kod odpowiedzi

Win-wiązanie skrót

<!-- 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 stenograficzny

<!-- 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

Odpowiedzi podobne do “V-ON stenograficzny”

Pytania podobne do “V-ON stenograficzny”

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu