Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 697 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 697 Bytes

Input

Simple Input Field

<input type="text" value="Text">

Input Field Input Field Focused

Number Input with Steppers

<!--Input type number-->
<input type="number" value="10" id="myInputWithStepper">
<!--Related stepper-->
<input-stepper for="#myInputWithStepper">
  <button></button>
  <button></button>
</input-stepper>

Number Input with Stepper

API

Just listen on your <input> elements as you would do normally. You can use value property and input event as defined by W3.