Skip to content

isActiveAnnotation

isActiveAnnotation(annotation, options?): EditorSelector<boolean>

Defined in: selector.is-active-annotation.ts:12

Check whether an annotation is active in the given snapshot.

string

"partial" | "full"

Choose whether the annotation has to take up the entire selection in the snapshot or if the annotation can be partially selected.

Defaults to ‘full’

EditorSelector<boolean>