Options
All
  • Public
  • Public/Protected
  • All
Menu

Note that ES6 modules cannot directly export class objects. This file should be imported using the CommonJS-style: import AutoNumeric = require('autonumeric');

Alternatively, if --allowSyntheticDefaultImports or --esModuleInterop is turned on, this file can also be imported as a default import: import AutoNumeric from 'autonumeric';

Refer to the TypeScript documentation at https://www.typescriptlang.org/docs/handbook/modules.html#export--and-import--require to understand common workarounds for this limitation of ES6 modules.

Index

Type aliases

CaretPositionOption

CaretPositionOption: "start" | "end" | "decimalLeft" | "decimalRight" | "doNoForceCaretPosition"

CurrencySymbolPlacementOption

CurrencySymbolPlacementOption: "p" | "s"

EmptyInputBehaviorOption

EmptyInputBehaviorOption: "null" | "focus" | "press" | "always" | "min" | "max" | "zero" | number | string

LeadingZeroOption

LeadingZeroOption: "allow" | "deny" | "keep"

NegativePositiveSignPlacementOption

NegativePositiveSignPlacementOption: "p" | "s" | "l" | "r" | null

OnInvalidPasteOption

OnInvalidPasteOption: "error" | "ignore" | "clamp" | "truncate" | "replace"

OutputFormatOption

OutputFormatOption: "string" | "number" | "." | "-." | "," | "-," | ".-" | ",-" | null

OverrideMinMaxLimitsOption

OverrideMinMaxLimitsOption: "ceiling" | "floor" | "ignore" | null

PredefinedOptions

PredefinedOptions: Partial<Options> & PredefinedLanguages

RoundingMethodOption

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

SerializeSpacesOption

SerializeSpacesOption: "+" | "%20"

Generated using TypeDoc