IgxHintDirective

new IgxHintDirective(): IgxHintDirective

Returns IgxHintDirective

Sets/gets whether the hint position is at the end. Default value is false.

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

Defined in projects/igniteui-angular/input-group/src/input-group/directives-hint/hint.directive.ts:44

Sets/gets whether the hint position is at the start. Default value is false.

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

Defined in projects/igniteui-angular/input-group/src/input-group/directives-hint/hint.directive.ts:28

Gets the position of the hint.

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

Defined in projects/igniteui-angular/input-group/src/input-group/directives-hint/hint.directive.ts:76

Returns string

Sets the position of the hint.

<igx-input-group>
 <input igxInput type="text"/>
 <igx-hint #hint [position]="'start'">IgxHint displayed at the start</igx-hint>
</igx-input-group>
set position(value: string): void

Defined in projects/igniteui-angular/input-group/src/input-group/directives-hint/hint.directive.ts:59

Parameters

  • value: string

Returns void