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
fun 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)
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the value of the numeric input as a String.
Link copied to clipboard
Install the input mask controller.
Link copied to clipboard
Uninstall the input mask controller.