Skip to main content
Version: Version 5 beta

Interface: ShapeAnnotationLineStyleButtonInterface

Interface for the line style button in the shape annotation popover.

Extends

  • EventHandlerInterface<"clicked", EventMap["PdfTools.popovers.shapeAnnotation.lineStyleButton.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: (triggerEl) => void

Emits a clicked event for the line style button in the shape annotation popover.

Parameters

triggerEl: HTMLElement

The HTML element that triggered the event.

Returns

void

void


removeEventListener()

removeEventListener: (eventName, callback) => void

Removes an event listener for specified events.

Parameters

eventName: "clicked"

callback

Returns

void

Inherited from

EventHandlerInterface.removeEventListener