mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
[ADF-1769] Added JSDocs for directives (#2964)
This commit is contained in:
committed by
Eugenio Romano
parent
d731cc651c
commit
b45048b5ed
@@ -14,6 +14,14 @@ Adds highlighting to selected sections of an HTML element's content.
|
||||
</div>
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Default value | Description |
|
||||
| ---- | ---- | ------------- | ----------- |
|
||||
| selector | `string` | `''` | Class selector for highlightable elements. |
|
||||
| search | `string` | `''` | Text to highlight. |
|
||||
| classToApply | `string` | `'adf-highlight'` | CSS class used to apply highlighting. |
|
||||
|
||||
## Details
|
||||
|
||||
Add `adf-highlight` with a search term to an element to highlight occurrences
|
||||
|
Reference in New Issue
Block a user