HighlightKeyword
Highlight matched keywords upon filtering
Constructor Summary
| Public Constructor | ||
| public |
constructor(tf: TableFilter) Creates an instance of HighlightKeyword |
|
Member Summary
| Public Members | ||
| public |
TableFilter's emitter instance |
|
| public |
Css class for highlighted term |
|
| public |
TableFilter instance |
|
Method Summary
| Public Methods | ||
| public |
destroy() Remove feature |
|
| public |
Highlight occurences of searched term in passed node |
|
| public |
init() Initializes HighlightKeyword instance |
|
| public |
unhighlight(term: String, cssClass: String) Removes highlight to nodes matching passed string |
|
| public |
Clear all occurrences of highlighted nodes |
|
Public Constructors
public constructor(tf: TableFilter) source
Creates an instance of HighlightKeyword
Params:
| Name | Type | Attribute | Description |
| tf | TableFilter | TableFilter instance |
