diff --git a/src/viewer.js b/src/viewer.js index a879a0bd..2f0f6f12 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -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