You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Adds the optional input `annotationRendererComponent` that defines which Angular component shall be used for rendering the annotations. By default, it uses the provided `NgxAnnotationRendererComponent`. You can implement your own annotation rendering component to customize the visualization of annotations. The custom component must implement the interface `NgxAnnotationRendererComponentInterface`. This implements feature request https://github.com/philenius/ngx-annotate-text/issues/9.
An Angular component library for interactively highlighting / annotating parts of text.
8
+
This Angular component library is perfect for tasks like visualizing named entity recognition, part of speech tagging, or annotating text datasets. It allows for interactively highlighting and annotating parts of text.
| annotations | Represents the parts of the given text which shall be annotated. |`Annotation[]`|`[]`|
106
-
| annotationClass | An optional CSS class applied to all elements which wrap the annotated parts of the given text. | `string|undefined` |`undefined`|
107
-
| removable | Determines whether annotations shall have a small button in the top right corner so that the user can remove an annotation. |`boolean`|`true`|
108
-
| text | The text which shall be displayed and annotated. |`string`| empty string |
| annotations | Represents the parts of the given text which shall be annotated. |`Annotation[]`|`[]`|
107
+
| annotationClass | An optional CSS class applied to all elements which wrap the annotated parts of the given text. | `string|undefined` |`undefined`|
108
+
| annotationRendererComponent | An optional Angular component that shall be used for rendering the annotation. By default, it uses the provided `NgxAnnotationRendererComponent`. You can implement your own annotation rendering component to customize the visualization of annotations. The custom component must implement the interface `NgxAnnotationRendererComponentInterface`. |`NgxAnnotationRendererComponentInterface`|`NgxAnnotationRendererComponent`|
109
+
| removable | Determines whether annotations shall have a small button in the top right corner so that the user can remove an annotation. |`boolean`|`true`|
110
+
| text | The text which shall be displayed and annotated. |`string`| empty string |
109
111
110
112
### Outputs
111
113
@@ -127,7 +129,7 @@ View and edit the live demo Angular app on <a href="https://codesandbox.io/s/ngx
0 commit comments