Variable: AnnotatedText_
Less than 1 minute
@ghentcdh/vue-component-annotated-text / AnnotatedText_
Variable: AnnotatedText_
const
AnnotatedText_:object
Defined in: compute/index.ts:4
Type declaration
init()
init: (
config
) =>ComputeAnnotations
Parameters
config
Partial
<{ actions
: { create
: false
; edit
: false
; }; gutter
: { gap
: 6
; width
: 3
; }; hover
: { color
: { border
: "rgba(100, 100, 100, 0.5)"
; fill
: "rgba(1, 1, 1, 0.1)"
; }; }; onError
: (error
, message
, ...params
) => void
; onEvent
: <T
>(event
) => void
; text
: { border
: 2
; borderRadius
: 3
; handleRadius
: 6
; lineHeight
: 22
; padding
: 3
; rtl
: false
; }; visualEvent
: { create
: () => object
; hover
: (annotation
) => boolean
; useSnapper
: (action
, annotation
) => object
; }; }>
Returns
ComputeAnnotations