Imask Numeric Input
open class ImaskNumericInput(value: Number? = null, min: Number? = null, max: Number? = null, decimals: Int = 2, decimalSeparator: Char = I18n.detectDecimalSeparator(), thousandsSeparator: Char? = I18n.detectThousandsSeparator(), padFractionalZeros: Boolean = false, normalizeZeros: Boolean = true, className: String? = null, init: ImaskNumericInput.() -> Unit? = null)
Numeric input component with masked input.
Parameters
value
numeric input value
min
minimal value
max
maximal value
decimals
the number of decimal digits (default 2)
decimal Separator
the decimal separator (default: auto detect)
thousands Separator
the thousands separator (default: auto detect)
pad Fractional Zeros
pads fractional zeros at end to the length of scale
normalize Zeros
appends or removes zeros at the end
class Name
CSS class names
init
an initializer extension function
Constructors
Link copied to clipboard
constructor(value: Number? = null, min: Number? = null, max: Number? = null, decimals: Int = 2, decimalSeparator: Char = I18n.detectDecimalSeparator(), thousandsSeparator: Char? = I18n.detectThousandsSeparator(), padFractionalZeros: Boolean = false, normalizeZeros: Boolean = true, className: String? = null, init: ImaskNumericInput.() -> Unit? = null)
Properties
Link copied to clipboard
The decimal separator.
Link copied to clipboard
Appends or removes zeros at the end.
Link copied to clipboard
Pads fractional zeros at end to the length of scale.
Link copied to clipboard
The placeholder for the numeric input.
Link copied to clipboard
The value attribute of the generated HTML input element.
Link copied to clipboard
The thousands separator.
Link copied to clipboard
The validation status of the input.