Interface: LineAnnotationInterface
Interface for the line annotation popover.
Extends
EventHandlerInterface
<"toggled"
,EventMap
["PdfTools.popovers.lineAnnotation.toggled"
]>
Properties
addEventListener()
addEventListener: (
eventName
,callback
) =>void
Adds an event listener for specified events.
Parameters
• eventName: "toggled"
• callback
Returns
void
Inherited from
EventHandlerInterface.addEventListener
colorPickerButton
colorPickerButton:
LineAnnotationColorPickerButtonInterface
Contextual menu actions related to the color picker button.
emitToggled()
emitToggled: (
active
) =>void
Emits a toggled event for the line annotation.
Parameters
• active: boolean
Indicates whether the annotation is active or not.
Returns
void
void
lineEndingButton
lineEndingButton:
LineAnnotationLineEndingButtonInterface
Contextual menu actions related to the line ending button.
lineStyleButton
lineStyleButton:
LineAnnotationLineStyleButtonInterface
Contextual menu actions related to the line style button.
removeEventListener()
removeEventListener: (
eventName
,callback
) =>void
Removes an event listener for specified events.
Parameters
• eventName: "toggled"