mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ADF-2152] Updated See Also sections in docs (#2842)
This commit is contained in:
committed by
Eugenio Romano
parent
ed6c62b990
commit
244234db4f
@@ -13,10 +13,10 @@ A typical use case for this service is to display the results from a search engi
|
||||
An excerpt of a retrieved document can be shown with the matching search terms
|
||||
highlighted to indicate where they were found.
|
||||
|
||||
The service works by adding HTML <span> elements around all sections of text
|
||||
The service works by adding HTML <span> elements around all sections of text
|
||||
that match the `search` string. You can specify multiple search strings at once by
|
||||
separating them with spaces, so passing "Apple Banana Cherry" in `search` will
|
||||
highlight any of those words individually. The <span> element includes a
|
||||
highlight any of those words individually. The <span> element includes a
|
||||
`class` attribute which defaults to "highlight" but you can pass any class name
|
||||
you like using the `wrapperClass` parameter.
|
||||
|
||||
@@ -33,13 +33,7 @@ interface HightlightTransformResult {
|
||||
The `changed` flag will be false if the search string was not found (ie, no highlighting
|
||||
took place) and true otherwise.
|
||||
|
||||
<!-- Don't edit the See also section. Edit seeAlsoGraph.json and run config/generateSeeAlso.js -->
|
||||
<!-- seealso start -->
|
||||
## See also
|
||||
|
||||
- [Text highlight pipe](text-highlight.pipe.md)
|
||||
- [Highlight directive](highlight.directive.md)
|
||||
<!-- seealso end -->
|
||||
|
||||
|
||||
|
||||
- [Text highlight pipe](text-highlight.pipe.md)
|
||||
- [Highlight directive](highlight.directive.md)
|
||||
|
||||
Reference in New Issue
Block a user