Constructors
Section titled "Constructors"IgxTextHighlightService
new IgxTextHighlightService(): IgxTextHighlightService Defined in projects/igniteui-angular/directives/src/directives/text-highlight/text-highlight.service.ts:11
Returns IgxTextHighlightService
Properties
Section titled "Properties"highlightGroupsMap
Section titled "highlightGroupsMap"highlightGroupsMap: Map<string, IActiveHighlightInfo> Defined in projects/igniteui-angular/directives/src/directives/text-highlight/text-highlight.service.ts:8
onActiveElementChanged
Section titled "onActiveElementChanged"onActiveElementChanged: EventEmitter<string> Defined in projects/igniteui-angular/directives/src/directives/text-highlight/text-highlight.service.ts:9
Methods
Section titled "Methods"clearActiveHighlight
Section titled "clearActiveHighlight"Clears any existing highlight.
clearActiveHighlight(groupName: any): void Defined in projects/igniteui-angular/directives/src/directives/text-highlight/text-highlight.service.ts:25
Parameters
- groupName:
any
Returns void
destroyGroup
Section titled "destroyGroup"Destroys a highlight group.
destroyGroup(groupName: string): void Defined in projects/igniteui-angular/directives/src/directives/text-highlight/text-highlight.service.ts:35
Parameters
- groupName:
string
Returns void
setActiveHighlight
Section titled "setActiveHighlight"Activates the highlight at a given index. (if such index exists)
setActiveHighlight(groupName: string, highlight: IActiveHighlightInfo): void Defined in projects/igniteui-angular/directives/src/directives/text-highlight/text-highlight.service.ts:17
Parameters
- groupName:
string - highlight:
IActiveHighlightInfo