Class: exports.ConfigurationWidget

OSDPaperjsAnnotation.exports.ConfigurationWidget(viewer, widgetOptsopt)

A unified configuration widget that appears as a gear button on the OpenSeadragon viewer. Opens a dialog allowing users to manage registered overlays (show/hide buttons, activate/deactivate) and provides a container for custom configuration sections.

Constructor

new exports.ConfigurationWidget(viewer, widgetOptsopt)

Parameters:
Name Type Attributes Description
viewer OpenSeadragon.Viewer The OpenSeadragon viewer instance.
widgetOpts Object <optional>
Properties
Name Type Attributes Description
storageKey string | null <optional>
If set, toolbar "Show Button" preferences for registered overlays and annotation rows are read from and written to localStorage under this key. Omit or null to disable persistence.
Source: