From 5a55ce458311cf0ffeec4c403ee3a6fa1741cb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=CC=81lvaro=20Marti=CC=81nez?= Date: Wed, 14 Aug 2019 23:50:29 +0200 Subject: [PATCH] updated viewer.addOverlay and viewer.updateOverlay documentation (#1694) --- src/viewer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index 7f47f464..2200287d 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -1911,10 +1911,10 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, * all available options. * @param {OpenSeadragon.Point|OpenSeadragon.Rect} location - The point or * rectangle which will be overlaid. This is a viewport relative location. - * @param {OpenSeadragon.Placement} placement - The position of the + * @param {OpenSeadragon.Placement} [placement=OpenSeadragon.Placement.TOP_LEFT] - The position of the * viewport which the location coordinates will be treated as relative * to. - * @param {function} onDraw - If supplied the callback is called when the overlay + * @param {function} [onDraw] - If supplied the callback is called when the overlay * needs to be drawn. It it the responsibility of the callback to do any drawing/positioning. * It is passed position, size and element. * @return {OpenSeadragon.Viewer} Chainable. @@ -1972,7 +1972,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, * the element which is overlaid. * @param {OpenSeadragon.Point|OpenSeadragon.Rect} location - The point or * rectangle which will be overlaid. This is a viewport relative location. - * @param {OpenSeadragon.Placement} placement - The position of the + * @param {OpenSeadragon.Placement} [placement=OpenSeadragon.Placement.TOP_LEFT] - The position of the * viewport which the location coordinates will be treated as relative * to. * @return {OpenSeadragon.Viewer} Chainable.