-
Notifications
You must be signed in to change notification settings - Fork 162
igxTextSelectionDirective Specification
Aleksandar Kamenov edited this page Apr 10, 2018
·
1 revision
IgxTextSelection
provides a way to trigger selection of text inside input elements.
<input type="text" [IgxTextSelection]="true" />
As a developer I want to be able to force text range selection to any focused input element with text content.
As an end user I would like to be able to make text selection of given input element with text content when it is focused.
To trigger auto selection of igxGrid cell text value when we are in an edit mode.
Name | Type | Description |
---|---|---|
IgxTextSelection | boolean | Determines whether the input element should be selectable through the directive. |
Name | Type | Description |
---|---|---|
selected | boolean | Returns whether the element is selected or not. |
nativeElement | ElementRef | Returns the nativeElement of the element where the directive was applied. |
Name | Type | Description |
---|---|---|
trigger | void | Triggers the selection of the element. |