mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +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
|
||||
* @function
|
||||
* @param {array} options - IIIF profile array
|
||||
* @param {Array|String} options.profile
|
||||
* @param {Object} options - IIIF option
|
||||
* @param {String} options.profile
|
||||
* @param {Number} options.version
|
||||
* @param {Number} options.extraFeatures
|
||||
* @throws {Error}
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
function canBeTiled ( options ) {
|
||||
|
@ -1255,10 +1255,10 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
||||
//
|
||||
/**
|
||||
* @function
|
||||
* @return {Boolean} returns true if the viewer is in fullscreen
|
||||
* @returns {Boolean} returns true if the viewer is in fullscreen
|
||||
*/
|
||||
isFullScreen: function () {
|
||||
return $.setFullScreen.fullScreen;
|
||||
return $.isFullScreen() && this.isFullPage();
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user