Options

Options should be defined in data-i2 attribute inside "emphasizer" HTML element.

rates

Type: Array
Default value: []
Used with: Number or String emphasizing

Defines custom rates.

reverse

Type: Boolean
Default value: false
Used with: Number or String emphasizing

Reverses rates.

prefix

Type: String
Default value: ''
Used with: Number or String emphasizing

Adds prefix.

suffix

Type: String
Default value: ''
Used with: Number or String emphasizing

Adds suffix.

separator

Type: String, Array
Default value: [' ']
Used with: String emphasizing

Separates string.

groupSize

Type: Number
Default value: 3
Used with: Number emphasizing

Defines the count of group digits.

groupSeparator

Type: String
Default value: ','
Used with: Number emphasizing

Defines separator between groups.

decimalDigits

Type: Number
Default value: auto
Used with: Number emphasizing

Defines the count of decimal digits.

decimalSeparator

Type: String
Default value: '.'
Used with: Number emphasizing

Defines the separator between integral and decimal(fractional) parts.

negativeSing

Type: String
Default value: '-'
Used with: Number emphasizing

Defines negative sing.