mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Merge pull request #2558 from pearcetm/webgl-update
Mark image-unloaded and tile-ready events as private
This commit is contained in:
commit
980deca107
@ -283,6 +283,7 @@
|
|||||||
* @memberof OpenSeadragon.Viewer
|
* @memberof OpenSeadragon.Viewer
|
||||||
* @type {object}
|
* @type {object}
|
||||||
* @property {CanvasRenderingContext2D} context2D - The context that is being unloaded
|
* @property {CanvasRenderingContext2D} context2D - The context that is being unloaded
|
||||||
|
* @private
|
||||||
*/
|
*/
|
||||||
viewer.raiseEvent("image-unloaded", {
|
viewer.raiseEvent("image-unloaded", {
|
||||||
context2D: this.levels[i].context2D
|
context2D: this.levels[i].context2D
|
||||||
|
@ -270,6 +270,7 @@ $.TileCache.prototype = {
|
|||||||
* @memberof OpenSeadragon.Viewer
|
* @memberof OpenSeadragon.Viewer
|
||||||
* @type {object}
|
* @type {object}
|
||||||
* @property {CanvasRenderingContext2D} context2D - The context that is being unloaded
|
* @property {CanvasRenderingContext2D} context2D - The context that is being unloaded
|
||||||
|
* @private
|
||||||
*/
|
*/
|
||||||
tiledImage.viewer.raiseEvent("image-unloaded", {
|
tiledImage.viewer.raiseEvent("image-unloaded", {
|
||||||
context2D: context2D,
|
context2D: context2D,
|
||||||
|
@ -2076,6 +2076,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
|
|||||||
* @property {OpenSeadragon.Tile} tile - The tile which has been loaded.
|
* @property {OpenSeadragon.Tile} tile - The tile which has been loaded.
|
||||||
* @property {OpenSeadragon.TiledImage} tiledImage - The tiled image of the loaded tile.
|
* @property {OpenSeadragon.TiledImage} tiledImage - The tiled image of the loaded tile.
|
||||||
* @property {XMLHttpRequest} tileRequest - The AJAX request that loaded this tile (if applicable).
|
* @property {XMLHttpRequest} tileRequest - The AJAX request that loaded this tile (if applicable).
|
||||||
|
* @private
|
||||||
*/
|
*/
|
||||||
_this.viewer.raiseEvent("tile-ready", {
|
_this.viewer.raiseEvent("tile-ready", {
|
||||||
tile: tile,
|
tile: tile,
|
||||||
|
Loading…
Reference in New Issue
Block a user