Interface: LineAnnotationLockButtonInterface
Interface for the lock button in the line annotation popover.
Extends
EventHandlerInterface<"clicked",EventMap["PdfTools.popovers.lineAnnotation.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 in the line annotation popover.
Parameters
• annotation: LineAnnotation
The line annotation to lock/unlock.
• locked: boolean
Whether the annotation should be locked.
Returns
void
removeEventListener()
removeEventListener: (
eventName,callback) =>void
Removes an event listener for specified events.
Parameters
• eventName: "clicked"
• callback
Returns
void
Inherited from
EventHandlerInterface.removeEventListener