Type Alias: AnnotationStyleParams<ANNOTATION>
Less than 1 minute
@ghentcdh/annotated-text / AnnotationStyleParams
Type Alias: AnnotationStyleParams<ANNOTATION>
AnnotationStyleParams<
ANNOTATION> = typeofDefaultAnnotationStyleParams&object
Defined in: libs/core/src/lib/adapter/annotation/style/annotation.style.ts:35
Configuration parameters for the StyleInstances class.
Type Declaration
styleFn()
styleFn: (
annotation) =>string|AnnotationStyle|null
Parameters
annotation
ANNOTATION
Returns
string | AnnotationStyle | null
Type Parameters
ANNOTATION
ANNOTATION
The type of annotation objects this configuration handles