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
|
Supplies
|
||||||
</label>
|
</label>
|
||||||
<dd-incrementer
|
<dd-incrementer
|
||||||
|
var:height="1.5rem"
|
||||||
name="system.supplies"
|
name="system.supplies"
|
||||||
value="{{system.supplies}}"
|
value="{{system.supplies}}"
|
||||||
id="{{meta.idp}}-player-inventory-supplies"
|
id="{{meta.idp}}-player-inventory-supplies"
|
||||||
min="0"
|
min="0"
|
||||||
></dd-incrementer>
|
></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>
|
||||||
<div class="e-1dp panel bytes-panel">
|
<div class="e-1dp panel bytes-panel">
|
||||||
<label
|
<label
|
||||||
|
|
@ -53,31 +29,13 @@
|
||||||
>
|
>
|
||||||
Bytes
|
Bytes
|
||||||
</label>
|
</label>
|
||||||
{{!-- <button
|
<dd-incrementer
|
||||||
type="button"
|
var:height="1.5rem"
|
||||||
class="equal-padding"
|
name="system.bytes"
|
||||||
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"
|
|
||||||
value="{{system.bytes}}"
|
value="{{system.bytes}}"
|
||||||
>
|
id="{{meta.idp}}-player-inventory-bytes"
|
||||||
<button
|
min="0"
|
||||||
type="button"
|
></dd-incrementer>
|
||||||
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>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="e-1dp panel filter-panel">
|
<div class="e-1dp panel filter-panel">
|
||||||
<h2>Show</h2>
|
<h2>Show</h2>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue