Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Options

Index

Properties

allowDecimalPadding?: boolean | "floats"

Allow padding the decimal places with zeros.

default

true

caretPositionOnFocus?: export=.CaretPositionOption

Determine where should be positioned the caret on focus

default

null

createLocalList?: boolean

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

default

true

currencySymbol?: string

Currency symbol

default

''

currencySymbolPlacement?: export=.CurrencySymbolPlacementOption

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

default

'p'

decimalCharacter?: string

Decimal separator character

default

'.'

decimalCharacterAlternative?: null | string

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

default

null

decimalPlaces?: 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

decimalPlacesRawValue?: null | number

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

default

null

decimalPlacesShownOnBlur?: null | number

The number of decimal places to show when unfocused

default

null

decimalPlacesShownOnFocus?: null | number

The number of decimal places to show when focused

default

null

defaultValueOverride?: 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

digitGroupSeparator?: string

Thousand separator character

default

','

digitalGroupSpacing?: string

Digital grouping for the thousand separator

default

'3'

divisorWhenUnfocused?: null | number

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

default

null

emptyInputBehavior?: export=.EmptyInputBehaviorOption
failOnUnknownOption?: boolean
formatOnPageLoad?: boolean
historySize?: number
isCancellable?: boolean
maximumValue?: string
minimumValue?: string
modifyValueOnWheel?: boolean

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

negativeBracketsTypeOnBlur?: null | string
negativePositiveSignPlacement?: export=.NegativePositiveSignPlacementOption

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

default

null

noEventListeners?: boolean
onInvalidPaste?: export=.OnInvalidPasteOption
overrideMinMaxLimits?: export=.OverrideMinMaxLimitsOption
rawValueDivisor?: null | number
readOnly?: boolean
roundingMethod?: export=.RoundingMethodOption
saveValueToSessionStorage?: boolean
selectNumberOnly?: boolean
selectOnFocus?: boolean
serializeSpaces?: export=.SerializeSpacesOption
showOnlyNumbersOnFocus?: boolean
showPositiveSign?: boolean
showWarnings?: boolean
styleRules?: null | { negative?: string; positive?: null | string; ranges?: { class: string; max: number; min: number }[]; userDefined?: ({ classes: [string, string] | [string]; callback: any } | { classes: string[]; callback: any } | { callback: any })[] }
suffixText?: string
symbolWhenUnfocused?: null | string
unformatOnHover?: boolean
unformatOnSubmit?: boolean
wheelStep?: number | "progressive"

Generated using TypeDoc