mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-22 09:43:14 +03:00
Merge pull request #2676 from bennlich/patch-1
Update viewer.addOverlay doc
This commit is contained in:
commit
b22b689dae
@ -2222,8 +2222,9 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
||||
/**
|
||||
* Adds an html element as an overlay to the current viewport. Useful for
|
||||
* highlighting words or areas of interest on an image or other zoomable
|
||||
* interface. The overlays added via this method are removed when the viewport
|
||||
* is closed which include when changing page.
|
||||
* interface. Unless the viewer has been configured with the preserveOverlays
|
||||
* option, overlays added via this method are removed when the viewport
|
||||
* is closed (including in sequence mode when changing page).
|
||||
* @method
|
||||
* @param {Element|String|Object} element - A reference to an element or an id for
|
||||
* the element which will be overlaid. Or an Object specifying the configuration for the overlay.
|
||||
|
Loading…
x
Reference in New Issue
Block a user