import Stepper from 'indulge-inner-child/src/appComponent/controlSection/rotors2D/rotor/stepper/stepper.js'
Stepper
Extends:
Stepper Element used for change numbers in all device easily
Example:
<Stepper name="propName" onchange={(name,value)=>{}}/>
Method Summary
Public Methods | ||
public |
set value on and text value from props |
|
public |
decrease() decrease the value of stepper |
|
public |
holdDown() start holding decrease button |
|
public |
holdUp() start holding increase button |
|
public |
increase() increase the value of stepper |
|
public |
leave decrease buton |
|
public |
leaveUp() leave increase button |
|
public |
onChange() call event for parents |
|
public |
onInputChange(e: *) change value on text changed |
|
public |
render function |
|
public |
shouldComponentUpdate(props: object): boolean we don't need to rerender all over stepper when its property changes |