mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 21:26:10 +03:00
Corrected documentation and isFullScreen function
This commit is contained in:
parent
664b707e5f
commit
f84d241367
@ -444,11 +444,10 @@ $.extend( $.IIIFTileSource.prototype, $.TileSource.prototype, /** @lends OpenSea
|
|||||||
/**
|
/**
|
||||||
* Determine whether arbitrary tile requests can be made against a service with the given profile
|
* Determine whether arbitrary tile requests can be made against a service with the given profile
|
||||||
* @function
|
* @function
|
||||||
* @param {array} options - IIIF profile array
|
* @param {Object} options - IIIF option
|
||||||
* @param {Array|String} options.profile
|
* @param {String} options.profile
|
||||||
* @param {Number} options.version
|
* @param {Number} options.version
|
||||||
* @param {Number} options.extraFeatures
|
* @param {Number} options.extraFeatures
|
||||||
* @throws {Error}
|
|
||||||
* @returns {Boolean}
|
* @returns {Boolean}
|
||||||
*/
|
*/
|
||||||
function canBeTiled ( options ) {
|
function canBeTiled ( options ) {
|
||||||
|
@ -1255,10 +1255,10 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
|||||||
//
|
//
|
||||||
/**
|
/**
|
||||||
* @function
|
* @function
|
||||||
* @return {Boolean} returns true if the viewer is in fullscreen
|
* @returns {Boolean} returns true if the viewer is in fullscreen
|
||||||
*/
|
*/
|
||||||
isFullScreen: function () {
|
isFullScreen: function () {
|
||||||
return $.setFullScreen.fullScreen;
|
return $.isFullScreen() && this.isFullPage();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user