Variable: DefaultAnnotationStyleParams
@ghentcdh/annotated-text / DefaultAnnotationStyleParams
Variable: DefaultAnnotationStyleParams
constDefaultAnnotationStyleParams:object
Defined in: libs/core/src/lib/adapter/annotation/style/annotation.style.ts:17
Type Declaration
defaultStyle
defaultStyle:
object=DefaultAnnotationStyle
defaultStyle.color
color:
object
defaultStyle.color.background?
optionalbackground:string
defaultStyle.color.backgroundActive?
optionalbackgroundActive:string
defaultStyle.color.border?
optionalborder:string
defaultStyle.color.borderActive?
optionalborderActive:string
defaultStyle.color.color?
optionalcolor:string
defaultStyle.color.gutterColor?
optionalgutterColor:string
defaultStyle.color.tagBackground?
optionaltagBackground:string
defaultStyle.color.tagColor?
optionaltagColor:string
styleFn()
styleFn: (
annotation) =>string| {color: {background?:string;backgroundActive?:string;border?:string;borderActive?:string;color?:string;gutterColor?:string;tagBackground?:string;tagColor?:string; }; }
Parameters
annotation
any
Returns
string | { color: { background?: string; backgroundActive?: string; border?: string; borderActive?: string; color?: string; gutterColor?: string; tagBackground?: string; tagColor?: string; }; }