Fixed the example code to match description

pull/3480/head
John 2023-01-03 06:42:09 -08:00 committed by GitHub
parent e4c3bbab76
commit 71e4d956a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@
<p>On the other hand, a fancy css based button using a div has no keyboard or screen reader support.</p> <p>On the other hand, a fancy css based button using a div has no keyboard or screen reader support.</p>
<pre v-code.script><code> <pre v-code.script><code>
&lt;button class="fancy-button" @click="onButtonClick(event)"&gt;Click&lt;/button&gt; &lt;div class="fancy-button" @click="onButtonClick(event)"&gt;Click&lt;/div&gt;
</code></pre> </code></pre>