クラス IgxMaskDirective

階層

  • IgxMaskDirective

実装

  • OnInit
  • ControlValueAccessor

コンストラクタ

constructor

プロパティ

displayValuePipe

displayValuePipe: PipeTransform

ぼかしに使用されるパイプを指定します。

<input [displayValuePipe] = "displayFormatPipe">
次のメンバー:

IgxMaskDirective

focusedValuePipe

focusedValuePipe: PipeTransform

フォーカスに使用される pipe を指定します。

<input [displayValuePipe] = "displayFormatPipe">
次のメンバー:

IgxMaskDirective

includeLiterals

includeLiterals: boolean

バインドされた値が書式設定記号を含むかどうかを指定します。

<input [includeLiterals] = "true">
次のメンバー:

IgxMaskDirective

mask

mask: string

入力マスクを設定します。

<input [igxMask] = "'00/00/0000'">
次のメンバー:

IgxMaskDirective

onValueChange

onValueChange: EventEmitter<IMaskEventArgs> = new EventEmitter<IMaskEventArgs>()

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

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

promptChar

promptChar: string

入力マスクで入力可能な文字を表すキャラクターを設定します。 デフォルト値は "'_'" です。

<input [promptChar] = "'/'">
次のメンバー:

IgxMaskDirective

アクセサー

placeholder

  • get placeholder(): string
  • set placeholder(val: string): void