Class IgxHintDirective

実装

  • OnInit

コンストラクター

プロパティ

アクセサー

コンストラクター

プロパティ

isPositionEnd: boolean = false

ヒント位置が終了にあるかどうかを取得または設定します。 デフォルト値は false です。

@ViewChild('hint', {read: IgxHintDirective})
public igxHint: IgxHintDirective;
this.igxHint.isPositionEnd = true;
let isHintPositionEnd = this.igxHint.isPositionEnd;

IgxHintDirective

isPositionStart: boolean = false

ヒント位置が開始にあるかどうかを取得または設定します。 デフォルト値は false です。

@ViewChild('hint', {read: IgxHintDirective})
public igxHint: IgxHintDirective;
this.igxHint.isPositionStart = true;
let isHintPositionStart = this.igxHint.isPositionStart;

IgxHintDirective

アクセサー

  • get position(): string
  • ヒントの位置を取得します。

    @ViewChild('hint', {read: IgxHintDirective})
    public igxHint: IgxHintDirective;
    let hintPosition = this.igxHint.position;

    IgxHintDirective

    返却 string

  • set position(value: string): void
  • ヒントの位置を設定します。

    <igx-input-group>
    <input igxInput type="text"/>
    <igx-hint #hint [position]="'start'">IgxHint displayed at the start</igx-hint>
    </igx-input-group>

    IgxHintDirective

    パラメーター

    • value: string

    返却 void