Added isFullscreen function to viewer.js

This commit is contained in:
Jachimike Onuoha 2021-11-29 15:33:37 -05:00
parent 45ee4cd7a9
commit 664b707e5f

View File

@ -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 * @function
* @param {Boolean} visible * @param {Boolean} visible