Interface: HighlightTopbarInterface
Interface for highlight topbar.
Extends
EventHandlerInterface
<"toggleVisibility"
,EventMap
["PdfTools.topbar.highlightTopbar.toggleVisibility"
]>
Properties
addEventListener()
addEventListener: (
eventName
,callback
) =>void
Adds an event listener for specified events.
Parameters
• eventName: "toggleVisibility"
• callback
Returns
void
Inherited from
EventHandlerInterface.addEventListener
circleSelectColor
circleSelectColor:
HighlightCircleSelectColorInterface
Groups all the API actions related to the circle color selection.
drawHighlighter
drawHighlighter:
DrawHighlighterInterface
Groups all the API actions related to the draw highlighter.
emitToggleVisibility()
emitToggleVisibility: (
visible
?) =>void
Emits a toggled event for the highlight topbar.
Parameters
• visible?: boolean
Indicates whether the topbar is visible.
Returns
void
void
removeEventListener()
removeEventListener: (
eventName
,callback
) =>void
Removes an event listener for specified events.
Parameters
• eventName: "toggleVisibility"
• callback
Returns
void
Inherited from
EventHandlerInterface.removeEventListener
textAnnotationSquigglet
textAnnotationSquigglet:
TextAnnotationSquiggletInterface
Groups all the API actions related to the text annotation squigglet.
textAnnotationStrikeout
textAnnotationStrikeout:
TextAnnotationStrikeoutInterface
Groups all the API actions related to the text annotation strikeout.
textAnnotationUnderline
textAnnotationUnderline:
TextAnnotationUnderlineInterface
Groups all the API actions related to the text annotation underline.