mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
move TiledImage instance instructions to function description
This commit is contained in:
parent
d59e237dda
commit
2db5cfeebd
@ -481,15 +481,16 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
||||
|
||||
/**
|
||||
* Open tiled images into the viewer, closing any others.
|
||||
* To get the TiledImage instance created by open, add an event listener for
|
||||
* {@link OpenSeadragon.Viewer.html#.event:open}, which when fired can be used to get access
|
||||
* to the instance, i.e., viewer.world.getItemAt(0).
|
||||
* @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},
|
||||
* 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}. To get the TiledImage
|
||||
* instance created by open, add an event listener for {@link OpenSeadragon.Viewer.html#.event:open}, which
|
||||
* when fired can be used to get access to the instance, i.e., viewer.world.getItemAt(0).
|
||||
* of the options parameter for {@link OpenSeadragon.Viewer#addTiledImage}.
|
||||
* @param {Number} initialPage - If sequenceMode is true, display this page initially
|
||||
* for the given tileSources. If specified, will overwrite the Viewer's existing initialPage property.
|
||||
* @return {OpenSeadragon.Viewer} Chainable.
|
||||
|
Loading…
Reference in New Issue
Block a user