@skyux/autonumeric
View in NPM | View in GitHub None found. npm install --save-exact @skyux/autonumeric
None found. import { SkyAutonumericModule } from '@skyux/autonumeric';
Selector: input[skyAutonumeric]
Wraps the autoNumeric utility to format any type of number, including currency.
skyAutonumeric: SkyAutonumericOptions | undefined
Assigns the name of a property from SkyAutonumericOptionsProvider
.
Custom options to provide to the underlying AutoNumeric library.
The value can be set to string
, which is an alias that represents
a set of predefined set of options
for a currency or language, or Options
, which is a
custom set of options
that override any default options that the skyAutonumeric
attribute specifies.
type SkyAutonumericOptions = string | keyof AutoNumeric.PredefinedOptions | AutoNumeric.Options
Provides options to the underlying AutoNumeric library. This can set global options on multiple input fields.
getConfig(): SkyAutonumericOptions
The value for a settings object to pass to the AutoNumeric library.
This overrides any default options specified by the skyAutonumeric
attribute.
Loading...