Interface: Topbar
Groups all the API actions related to the topbar UI of the Viewer.
Extends
EventHandlerInterface<"hideAll",EventMap["PdfTools.topbar.hideAll"]>
Properties
addEventListener()
addEventListener: (
eventName,callback) =>void
Adds an event listener for the hideAll event.
Parameters
eventName
"hideAll"
The name of the event to listen for.
callback
() => void
The callback function to execute when the event is triggered.
Returns
void
Overrides
EventHandlerInterface.addEventListener
emitHideAll()
emitHideAll: () =>
void
Emits a hideAll event for the topbar.
Returns
void
highlightTopbar
highlightTopbar:
HighlightTopbarInterface
Groups all the API actions related to the highlight topbar.
removeEventListener()
removeEventListener: (
eventName,callback) =>void
Removes an event listener for the hideAll event.
Parameters
eventName
"hideAll"
The name of the event to stop listening for.
callback
() => void
The callback function to remove.
Returns
void
Overrides
EventHandlerInterface.removeEventListener
stickyNotesTopbar
stickyNotesTopbar:
StickyNotesTopbarInterface
Groups all the API actions related to the sticky notes topbar.