Function: createAnnotatedText()
Less than 1 minute
@ghentcdh/annotated-text / createAnnotatedText
Function: createAnnotatedText()
createAnnotatedText<
ANNOTATION>(id,params):AnnotatedText<ANNOTATION>
Defined in: libs/core/src/lib/compute/create/createAnnotatedText.ts:23
Type Parameters
ANNOTATION
ANNOTATION extends BaseAnnotation = { color?: { background?: string; backgroundActive?: string; border?: string; borderActive?: string; color?: string; gutterColor?: string; tagBackground?: string; tagColor?: string; }; end: number; id?: string | number; label?: string; start: number; target?: "text" | "gutter"; textSelection?: string; weight?: number; }
Parameters
id
string
params
createAnnotatedTextParams<ANNOTATION> = {}
Returns
AnnotatedText<ANNOTATION>