Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MaskingUtil

Index

Methods

applyMask

  • applyMask(mask: string | undefined, newValue: string, oldValue?: undefined | string): MaskedString
  • Parameters

    • mask: string | undefined
    • newValue: string
    • Optional oldValue: undefined | string

    Returns MaskedString

getMaxLengthBasedOnMask

  • getMaxLengthBasedOnMask(mask?: undefined | string): number
  • Parameters

    • Optional mask: undefined | string

    Returns number

removeMask

  • removeMask(mask: string | undefined, value: string): string
  • Parameters

    • mask: string | undefined
    • value: string

    Returns string