Function: DefaultAnnotationAdapter()
@ghentcdh/annotated-text / DefaultAnnotationAdapter
Function: DefaultAnnotationAdapter()
DefaultAnnotationAdapter(
params):AnnotationAdapter<{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; }>
Defined in: libs/core/src/lib/adapter/annotation/DefaultAnnotationAdapter.ts:57
Parameters
params
createAnnotationAdapterParams<{ 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; }> = {}
Returns
AnnotationAdapter<{ 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; }>