Class IgxMaskDirective

Hierarchy

Hierarchy (view full)

Implements

  • OnInit
  • AfterViewChecked
  • ControlValueAccessor

Constructors

Properties

displayValuePipe: PipeTransform

Specifies a pipe to be used on blur.

<input [displayValuePipe] = "displayFormatPipe">
focusedValuePipe: PipeTransform

Specifies a pipe to be used on focus.

<input [focusedValuePipe] = "inputFormatPipe">
includeLiterals: boolean

Specifies if the bound value includes the formatting symbols.

<input [includeLiterals] = "true">
promptChar: string = '_'

Sets the character representing a fillable spot in the input mask. Default value is "'_'".

<input [promptChar] = "'/'">
valueChanged: EventEmitter<IMaskEventArgs> = ...

Emits an event each time the value changes. Provides rawValue: string and formattedValue: string as event arguments.

<input (valueChanged) = "valueChanged(rawValue: string, formattedValue: string)">

Accessors