Interface: ShapeAnnotationLockButtonInterface
Interface for the lock button in shape annotation popover.
Extends
EventHandlerInterface<"clicked",EventMap["PdfTools.popovers.shapeAnnotation.lockButton.clicked"]>
Properties
addEventListener()
addEventListener: (
eventName,callback) =>void
Adds an event listener for specified events.
Parameters
• eventName: "clicked"
• callback
Returns
void
Inherited from
EventHandlerInterface.addEventListener
emitClicked()
emitClicked: (
annotation,locked) =>void
Emits a clicked event for the lock button.
Parameters
• annotation: Annotation
The shape annotation to be locked/unlocked.
• locked: boolean
The new locked state.
Returns
void
removeEventListener()
removeEventListener: (
eventName,callback) =>void
Removes an event listener for specified events.
Parameters
• eventName: "clicked"
• callback
Returns
void
Inherited from
EventHandlerInterface.removeEventListener