mark image-unloaded and tile-ready events as private

This commit is contained in:
Tom 2024-07-16 14:17:29 -04:00
parent ee6751e02f
commit b87eaf3040
3 changed files with 3 additions and 0 deletions

View File

@ -283,6 +283,7 @@
* @memberof OpenSeadragon.Viewer
* @type {object}
* @property {CanvasRenderingContext2D} context2D - The context that is being unloaded
* @private
*/
viewer.raiseEvent("image-unloaded", {
context2D: this.levels[i].context2D

View File

@ -270,6 +270,7 @@ $.TileCache.prototype = {
* @memberof OpenSeadragon.Viewer
* @type {object}
* @property {CanvasRenderingContext2D} context2D - The context that is being unloaded
* @private
*/
tiledImage.viewer.raiseEvent("image-unloaded", {
context2D: context2D,

View File

@ -2076,6 +2076,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
* @property {OpenSeadragon.Tile} tile - The tile which has been loaded.
* @property {OpenSeadragon.TiledImage} tiledImage - The tiled image of the loaded tile.
* @property {XMLHttpRequest} tileRequest - The AJAX request that loaded this tile (if applicable).
* @private
*/
_this.viewer.raiseEvent("tile-ready", {
tile: tile,