Skip to content

Latest commit

 

History

History

PhotonInput

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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.