Skip to main content
Version: Version 5 beta

Interface: SubmitButtonInterface

Interface for the submit button in sticky note modals.

Extends

  • EventHandlerInterface<"clicked", EventMap["PdfTools.stickyNotes.modals.submitButton.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 submit button modal.

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