Home Reference Source
import CurrencyComponent from 'formiojs/src/components/currency/Currency.js'
public class | source

CurrencyComponent

Extends:

src/components/number/Number.js~NumberComponent → CurrencyComponent

Static Member Summary

Static Public Members
public static get

builderInfo: {"title": string, "group": string, "icon": string, "documentation": string, "weight": number, "schema": *}

Static Method Summary

Static Public Methods
public static

schema(extend: ...*): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public get

Method Summary

Public Methods
public

addFocusBlurEvents(element: *)

public

addZerosAndFormatValue(value: *): *

public

Creates the number mask for currency numbers.

public

formatValue(value: *): *

public

getValueAsString(value: *, options: *): *

public
public

parseNumber(value: *): *

public

parseValue(value: *): *

public

setInputMask(input: *)

public

stripPrefixSuffix(value: *): *

Static Public Members

public static get builderInfo: {"title": string, "group": string, "icon": string, "documentation": string, "weight": number, "schema": *} source

Static Public Methods

public static schema(extend: ...*): * source

Params:

NameTypeAttributeDescription
extend ...*

Return:

*

Public Constructors

public constructor() source

Public Members

public currencyPrefix: * source

public currencySuffix: * source

public get defaultSchema: * source

Public Methods

public addFocusBlurEvents(element: *) source

Params:

NameTypeAttributeDescription
element *

public addZerosAndFormatValue(value: *): * source

Params:

NameTypeAttributeDescription
value *

Return:

*

public createNumberMask(): * source

Creates the number mask for currency numbers.

Return:

*

public formatValue(value: *): * source

Params:

NameTypeAttributeDescription
value *

Return:

*

public getValueAsString(value: *, options: *): * source

Params:

NameTypeAttributeDescription
value *
options *

Return:

*

public isDecimalAllowed(): * source

Return:

*

public parseNumber(value: *): * source

Params:

NameTypeAttributeDescription
value *

Return:

*

public parseValue(value: *): * source

Params:

NameTypeAttributeDescription
value *

Return:

*

public setInputMask(input: *) source

Params:

NameTypeAttributeDescription
input *

public stripPrefixSuffix(value: *): * source

Params:

NameTypeAttributeDescription
value *

Return:

*