[ADF-1039] Search results highlighting (#2080)

* Provide a way to highlight the searched word

* Add unit test
This commit is contained in:
Maurizio Vitale
2017-07-13 15:07:48 +01:00
committed by Eugenio Romano
parent 55cd57b49d
commit 8a1281475c
10 changed files with 79 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ results component embedded inside the same component.
| inputType | string | "text" | Type of the input field to render, e.g. "search" or "text" (default) |
| expandable | boolean | true | Whether to use an expanding search control, if false then a regular input is used. |
| autocomplete | boolean | true | Whether the browser should offer field auto-completion for the input field to the user. |
| highlight | boolean | false | Use the true value if you want to see the searched word highlighted. |
| liveSearchEnabled | boolean | true | Whether find-as-you-type suggestions should be offered for matching content items. Set to false to disable. |
| liveSearchRoot | string | "-root-" | NodeRef or node name where the search should start. |
| liveSearchResultType | string | | Node type to filter live search results by, e.g. 'cm:content'. |