pysepal.sepalwidgets.inputs.NumberField#
- class pysepal.sepalwidgets.inputs.NumberField(*args, **kwargs)[source]#
Custom widget to input numbers in text area and add/subtract with single increment.
- Parameters:
max_ (Int) – Maximum selectable number. Defaults to 10.
min_ (Int) – Minimum selectable number. Defaults to 0.
increm (Int) – incremental value added at each step. default to 1
kwargs – Any parameter from a v.TextField. If set, ‘type’ will be overwritten.
Attributes
incremIncremental value added at each step.
max_Maximum selectable number.
min_Minimum selectable number.
Methods
- NumberField.__init__(max_=10, min_=0, increm=1, **kwargs)[source]#
Custom widget to input numbers in text area and add/subtract with single increment.
- Parameters:
max_ (int) – Maximum selectable number. Defaults to 10.
min_ (int) – Minimum selectable number. Defaults to 0.
increm (int) – incremental value added at each step. default to 1
kwargs – Any parameter from a v.TextField. If set, ‘type’ will be overwritten.