Type Alias: AnnotationRenderParams
Less than 1 minute
@ghentcdh/annotated-text / AnnotationRenderParams
Type Alias: AnnotationRenderParams
AnnotationRenderParams =
object
Defined in: libs/core/src/lib/adapter/annotation/renderer/annotation-render.ts:13
Parameters passed to the render method of annotation renderers.
Properties
maxGutterWeight
maxGutterWeight:
number
Defined in: libs/core/src/lib/adapter/annotation/renderer/annotation-render.ts:25
The maximum weight value among all gutter annotations. Useful for positioning gutter elements relative to each other.
textDirection
textDirection:
"ltr"|"rtl"
Defined in: libs/core/src/lib/adapter/annotation/renderer/annotation-render.ts:19
Text direction for proper positioning of annotations. Use 'ltr' for left-to-right languages (English, Spanish, etc.) Use 'rtl' for right-to-left languages (Arabic, Hebrew, etc.)