Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Options

Index

Properties

Optional allowDecimalPadding

allowDecimalPadding: undefined | boolean | "floats"

Allow padding the decimal places with zeros.

default

true

Optional caretPositionOnFocus

caretPositionOnFocus: undefined | "start" | "end" | "decimalLeft" | "decimalRight" | "doNoForceCaretPosition"

Determine where should be positioned the caret on focus

default

null

Optional createLocalList

createLocalList: undefined | boolean

Determine if a local list of AutoNumeric objects must be kept when initializing the elements and others

default

true

Optional currencySymbol

currencySymbol: undefined | string

Currency symbol

default

''

Optional currencySymbolPlacement

currencySymbolPlacement: undefined | "p" | "s"

Placement of the currency sign, relative to the number (as a prefix or a suffix)

default

'p'

Optional decimalCharacter

decimalCharacter: undefined | string

Decimal separator character

default

'.'

Optional decimalCharacterAlternative

decimalCharacterAlternative: undefined | null | string

Allow to declare alternative decimal separator which is automatically replaced by the real decimal character

default

null

Optional decimalPlaces

decimalPlaces: undefined | number

Defines the default number of decimal places to show on the formatted value, and to keep as the precision for the rawValue 0 or positive integer

default

2

Optional decimalPlacesRawValue

decimalPlacesRawValue: undefined | null | number

Defines how many decimal places should be kept for the raw value.

default

null

Optional decimalPlacesShownOnBlur

decimalPlacesShownOnBlur: undefined | null | number

The number of decimal places to show when unfocused

default

null

Optional decimalPlacesShownOnFocus

decimalPlacesShownOnFocus: undefined | null | number

The number of decimal places to show when focused

default

null

Optional defaultValueOverride

defaultValueOverride: undefined | string | { doNotOverride: null }

Helper option for ASP.NET postback This should be set as the value of the unformatted default value examples: no default value="" {defaultValueOverride: ""} value=1234.56 {defaultValueOverride: '1234.56'}

default

null

Optional digitGroupSeparator

digitGroupSeparator: undefined | string

Thousand separator character

default

','

Optional digitalGroupSpacing

digitalGroupSpacing: undefined | string

Digital grouping for the thousand separator

default

'3'

Optional divisorWhenUnfocused

divisorWhenUnfocused: undefined | null | number

Define the number that will divide the current value shown when unfocused

default

null

Optional emptyInputBehavior

emptyInputBehavior: undefined | string | number

Optional failOnUnknownOption

failOnUnknownOption: undefined | boolean

Optional formatOnPageLoad

formatOnPageLoad: undefined | boolean

Optional historySize

historySize: undefined | number

Optional isCancellable

isCancellable: undefined | boolean

Optional leadingZero

leadingZero: undefined | "allow" | "deny" | "keep"

Optional maximumValue

maximumValue: undefined | string

Optional minimumValue

minimumValue: undefined | string

Optional modifyValueOnWheel

modifyValueOnWheel: undefined | boolean

Determine if the element value can be incremented / decremented with the mouse wheel.

Optional negativeBracketsTypeOnBlur

negativeBracketsTypeOnBlur: undefined | null | string

Optional negativePositiveSignPlacement

negativePositiveSignPlacement: undefined | null | "p" | "s" | "l" | "r"

Placement of negative/positive sign relative to the currency symbol (possible options are l (left), r (right), p (prefix) and s (suffix))

default

null

Optional noEventListeners

noEventListeners: undefined | boolean

Optional onInvalidPaste

onInvalidPaste: undefined | "error" | "ignore" | "clamp" | "truncate" | "replace"

Optional outputFormat

outputFormat: undefined | null | "string" | "number" | "." | "-." | "," | "-," | ".-" | ",-"

Optional overrideMinMaxLimits

overrideMinMaxLimits: undefined | null | "ignore" | "ceiling" | "floor"

Optional rawValueDivisor

rawValueDivisor: undefined | null | number

Optional readOnly

readOnly: undefined | boolean

Optional roundingMethod

roundingMethod: undefined | "s" | "S" | "A" | "a" | "B" | "U" | "D" | "C" | "F" | "N05" | "CHF" | "U05" | "D05"

Optional saveValueToSessionStorage

saveValueToSessionStorage: undefined | boolean

Optional selectNumberOnly

selectNumberOnly: undefined | boolean

Optional selectOnFocus

selectOnFocus: undefined | boolean

Optional serializeSpaces

serializeSpaces: undefined | "+" | "%20"

Optional showOnlyNumbersOnFocus

showOnlyNumbersOnFocus: undefined | boolean

Optional showPositiveSign

showPositiveSign: undefined | boolean

Optional showWarnings

showWarnings: undefined | boolean

Optional styleRules

styleRules: undefined | null | { negative?: undefined | string; positive?: undefined | null | string; ranges?: undefined | { class: string; max: number; min: number }[]; userDefined?: undefined | ({ callback: (rawValue: number) => boolean; classes: [string, string] | [string] } | { callback: (rawValue: number) => null | number | number[]; classes: string[] } | { callback: (autoNumericInstance: export=) => void })[] }

Optional suffixText

suffixText: undefined | string

Optional symbolWhenUnfocused

symbolWhenUnfocused: undefined | null | string

Optional unformatOnHover

unformatOnHover: undefined | boolean

Optional unformatOnSubmit

unformatOnSubmit: undefined | boolean

Optional wheelStep

wheelStep: undefined | number | "progressive"

Generated using TypeDoc