mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Codehighlight fixes
This commit is contained in:
parent
62b980d0da
commit
1fce27abb7
7 changed files with 14 additions and 14 deletions
|
@ -5,7 +5,7 @@
|
|||
space key as well to trigger.
|
||||
</p>
|
||||
</DocSectionText>
|
||||
<pre v-code.script><code>
|
||||
<pre v-code><code>
|
||||
<button @click="onButtonClick(event)">Click</button>
|
||||
|
||||
</code></pre>
|
||||
|
@ -13,7 +13,7 @@
|
|||
<div class="doc-section-description">
|
||||
<p>On the other hand, a fancy css based button using a div has no keyboard or screen reader support.</p>
|
||||
</div>
|
||||
<pre v-code.script><code>
|
||||
<pre v-code><code>
|
||||
<div class="fancy-button" @click="onButtonClick(event)">Click</div>
|
||||
|
||||
</code></pre>
|
||||
|
@ -24,7 +24,7 @@
|
|||
controls should be preferred.
|
||||
</p>
|
||||
</div>
|
||||
<pre v-code.script><code>
|
||||
<pre v-code><code>
|
||||
<div class="fancy-button" @click="onClick(event)" @keydown="onKeyDown(event)" tabindex="0">Click</div>
|
||||
|
||||
</code></pre>
|
||||
|
@ -32,7 +32,7 @@
|
|||
<div class="doc-section-description">
|
||||
<p>Form components must be related to another element that describes what the form element is used for. This is usually achieved with the <i>label</i> element.</p>
|
||||
</div>
|
||||
<pre v-code.script><code>
|
||||
<pre v-code><code>
|
||||
<label for="myinput">Username:</label>
|
||||
<input id="myinput" type="text" name="username" />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue