Add a couple incrementer elements as an example for using them
This commit is contained in:
parent
f2c169c077
commit
ca0d3eb970
1 changed files with 7 additions and 49 deletions
|
|
@ -16,36 +16,12 @@
|
|||
Supplies
|
||||
</label>
|
||||
<dd-incrementer
|
||||
var:height="1.5rem"
|
||||
name="system.supplies"
|
||||
value="{{system.supplies}}"
|
||||
id="{{meta.idp}}-player-inventory-supplies"
|
||||
min="0"
|
||||
></dd-incrementer>
|
||||
{{!-- <button
|
||||
type="button"
|
||||
class="icon"
|
||||
data-decrement="system.supplies"
|
||||
aria-label="Decrease supply count by one"
|
||||
>
|
||||
<div aria-hidden="true" class="icon icon--14">
|
||||
{{{ icons.minus }}}
|
||||
</div>
|
||||
</button>
|
||||
<input
|
||||
type="number"
|
||||
|
||||
value="{{system.supplies}}"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
class="icon"
|
||||
data-increment="system.supplies"
|
||||
aria-label="Increase supply count by one"
|
||||
>
|
||||
<div aria-hidden="true" class="icon icon--14">
|
||||
{{{ icons.create }}}
|
||||
</div>
|
||||
</button> --}}
|
||||
</div>
|
||||
<div class="e-1dp panel bytes-panel">
|
||||
<label
|
||||
|
|
@ -53,31 +29,13 @@
|
|||
>
|
||||
Bytes
|
||||
</label>
|
||||
{{!-- <button
|
||||
type="button"
|
||||
class="equal-padding"
|
||||
data-decrement="system.bytes"
|
||||
aria-label="Decrease byte count by one"
|
||||
>
|
||||
<div aria-hidden="true" class="icon icon--14">
|
||||
{{{ icons.minus }}}
|
||||
</div>
|
||||
</button>
|
||||
<input
|
||||
type="number"
|
||||
id="{{meta.idp}}-player-inventory-bytes-input"
|
||||
<dd-incrementer
|
||||
var:height="1.5rem"
|
||||
name="system.bytes"
|
||||
value="{{system.bytes}}"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
class="equal-padding"
|
||||
data-increment="system.bytes"
|
||||
aria-label="Increase byte count by one"
|
||||
>
|
||||
<div aria-hidden="true" class="icon icon--14">
|
||||
{{{ icons.create }}}
|
||||
</div> --}}
|
||||
</button>
|
||||
id="{{meta.idp}}-player-inventory-bytes"
|
||||
min="0"
|
||||
></dd-incrementer>
|
||||
</div>
|
||||
<div class="e-1dp panel filter-panel">
|
||||
<h2>Show</h2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue