Interface: LineAnnotationDeleteButtonInterface
Interface for the delete button in the line annotation popover.
Extends
EventHandlerInterface<"clicked",EventMap["PdfTools.popovers.lineAnnotation.deleteButton.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) =>void
Emits a clicked event for the delete button in the line annotation popover.
Parameters
• annotation: LineAnnotation
The line annotation to delete.
Returns
void
removeEventListener()
removeEventListener: (
eventName,callback) =>void
Removes an event listener for specified events.
Parameters
• eventName: "clicked"
• callback
Returns
void
Inherited from
EventHandlerInterface.removeEventListener