From f8156991efcabf56837f9851ace249227d2dedae Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Wed, 29 Oct 2014 17:23:54 -0700 Subject: [PATCH] More doc tweaks --- src/viewer.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index 3a7f7539..3fbb9e06 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -560,11 +560,12 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, }, /** - * Open tiled images into the viewer. + * Open tiled images into the viewer, closing any others. * @function * @param {Array|String|Object|Function} tileSources - This can be a TiledImage * specifier, a TileSource specifier, or an array of either. A TiledImage specifier - * is the same as the options parameter for {@link OpenSeadragon.Viewer#addTiledImage}. + * is the same as the options parameter for {@link OpenSeadragon.Viewer#addTiledImage}, + * except for the index property; images are added in sequence. * A TileSource specifier is anything you could pass as the tileSource property * of the options parameter for {@link OpenSeadragon.Viewer#addTiledImage}. * @return {OpenSeadragon.Viewer} Chainable.