isActiveAnnotation
isActiveAnnotation(
annotation
,options?
):EditorSelector
<boolean
>
Defined in: selector.is-active-annotation.ts:12
Check whether an annotation is active in the given snapshot
.
Parameters
Section titled “Parameters”annotation
Section titled “annotation”string
options?
Section titled “options?”"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’
Returns
Section titled “Returns”EditorSelector
<boolean
>