Skip to main content
Version: Version 5 beta

Interface: StampAnnotationPopoverInterface

Interface for the stamp annotation popover.

Extends

  • EventHandlerInterface<"toggled", EventMap["PdfTools.popovers.stampAnnotation.toggled"]>

Properties

addEventListener()

addEventListener: (eventName, callback) => void

Adds an event listener for specified events.

Parameters

eventName: "toggled"

callback

Returns

void

Inherited from

EventHandlerInterface.addEventListener


deleteButton

deleteButton: StampAnnotationDeleteButtonInterface

Delete button interface for the stamp annotation popover.


emitToggled()

emitToggled: (active, annotation?) => void

Emits a toggled event for the stamp annotation.

Parameters

active: boolean

Indicates whether the stamp annotation popover is active or not.

annotation?: StampAnnotation

The stamp annotation to toggle.

Returns

void


lockButton

lockButton: StampAnnotationLockButtonInterface

Lock button interface for the stamp annotation popover.


removeEventListener()

removeEventListener: (eventName, callback) => void

Removes an event listener for specified events.

Parameters

eventName: "toggled"

callback

Returns

void

Inherited from

EventHandlerInterface.removeEventListener


rotateButton

rotateButton: StampAnnotationRotateButtonInterface

Rotate button interface for the stamp annotation popover.