Skip to main content
Version: Version 5 beta

Interface: AnnotationLockButtonInterface

Interface for the annotation lock button.

Extends

  • EventHandlerInterface<"clicked", EventMap["PdfTools.contextualMenus.annotation.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: (options) => void

Emits a clicked event for the lock button.

Parameters

options: StickyNoteModalOptions

The options for the sticky note modal.

Returns

void


removeEventListener()

removeEventListener: (eventName, callback) => void

Removes an event listener for specified events.

Parameters

eventName: "clicked"

callback

Returns

void

Inherited from

EventHandlerInterface.removeEventListener