Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PropFormatter

Hierarchy

  • PropFormatter

Index

Properties

Static decimalFormat

decimalFormat: string[] = PrivatePropFormats.decimalFormat.slice(0)

Static decimalFormatGeneric

decimalFormatGeneric: string = PrivatePropFormats.decimalFormatGeneric

Static moneyFormat

moneyFormat: string[] = PrivatePropFormats.moneyFormat.slice(0)

Static moneyFormatGeneric

moneyFormatGeneric: string = PrivatePropFormats.moneyFormatGeneric

Static percentFormat

percentFormat: string[] = PrivatePropFormats.percentFormat.slice(0)

Static percentFormatGeneric

percentFormatGeneric: string = PrivatePropFormats.decimalFormatGeneric

Static wholeFormat

wholeFormat: string = PrivatePropFormats.wholeFormat

Methods

Static formatForRead

Static formatForWrite

Static formatValueForRead

  • formatValueForRead(value: any, propDef: PropertyDef): any

Static parse

  • Attempt to construct (or preserve) the appropriate data type given primitive (or already constructed) value.

    Parameters

    Returns any

Static resetFormats

  • resetFormats(): void

Static toString

Static toStringRead

Static toStringWrite

Generated using TypeDoc