mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Added isFullscreen function to viewer.js
This commit is contained in:
parent
45ee4cd7a9
commit
664b707e5f
@ -1252,6 +1252,15 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
||||
},
|
||||
|
||||
|
||||
//
|
||||
/**
|
||||
* @function
|
||||
* @return {Boolean} returns true if the viewer is in fullscreen
|
||||
*/
|
||||
isFullScreen: function () {
|
||||
return $.setFullScreen.fullScreen;
|
||||
},
|
||||
|
||||
/**
|
||||
* @function
|
||||
* @param {Boolean} visible
|
||||
|
Loading…
Reference in New Issue
Block a user