Changelog for #1196 and doc tweaks

This commit is contained in:
Ian Gilman 2017-05-15 10:13:34 -07:00
parent bf1b5fd793
commit 29f973029f
2 changed files with 3 additions and 2 deletions

View File

@ -38,6 +38,7 @@ OPENSEADRAGON CHANGELOG
* Added fix for supporting weird filenames that look like JSONs (#1189) * Added fix for supporting weird filenames that look like JSONs (#1189)
* Fixed: zoomTo/zoomBy ignore refPoint if immediately is true (#1184) * Fixed: zoomTo/zoomBy ignore refPoint if immediately is true (#1184)
* Enabled configuration of ImageLoader timeout (#1192) * Enabled configuration of ImageLoader timeout (#1192)
* Viewer.open() now supports an initialPage argument for sequenceMode (#1196)
2.2.1: 2.2.1:

View File

@ -97,7 +97,7 @@ $.Viewer = function( options ) {
id: options.id, id: options.id,
hash: options.hash || nextHash++, hash: options.hash || nextHash++,
/** /**
* If sequenceMode is true, display this page initially for the given tileSources. * Index for page to be shown first next time open() is called (only used in sequenceMode).
* @member {Number} initialPage * @member {Number} initialPage
* @memberof OpenSeadragon.Viewer# * @memberof OpenSeadragon.Viewer#
*/ */
@ -489,7 +489,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
* A TileSource specifier is anything you could pass as the tileSource property * A TileSource specifier is anything you could pass as the tileSource property
* of the options parameter for {@link OpenSeadragon.Viewer#addTiledImage}. * of the options parameter for {@link OpenSeadragon.Viewer#addTiledImage}.
* @param {Number} initialPage - If sequenceMode is true, display this page initially * @param {Number} initialPage - If sequenceMode is true, display this page initially
* for the given tileSources. If specified, will overwrite the existing homonymous option. * for the given tileSources. If specified, will overwrite the Viewer's existing initialPage property.
* @return {OpenSeadragon.Viewer} Chainable. * @return {OpenSeadragon.Viewer} Chainable.
* @fires OpenSeadragon.Viewer.event:open * @fires OpenSeadragon.Viewer.event:open
* @fires OpenSeadragon.Viewer.event:open-failed * @fires OpenSeadragon.Viewer.event:open-failed