ui/b/numberinput.js file

BNumberInput

The <b-numberinput> element is a field-editor for integer or floating point number ranges. The input value will be constrained to take on an amount between min and max inclusively.

Properties:

value
Contains the number being edited.
min
The minimum amount that value can take on.
max
The maximum amount that value can take on.
step
A useful amount for stepwise increments.
allowfloat
Unless this setting is true, numbers are constrained to integer values.
readonly
Make this component non editable for the user.

Events:

valuechange
Event emitted whenever the value changes, which is provided as event.target.value.