Skip to main content

onFocusAnnotation

The function called when an annotation receives focus.

Parameters

NameData typeDescription
annotationTextAnnotationThe annotation that received focus.
window.Asc.plugin.attachEditorEvent("onFocusAnnotation", (data) => {
console.log("event: onFocusAnnotation");
console.log("paragraphId: " + data.paragraphId);
console.log("rangeId: " + data.rangeId);
});