diff --git a/src/viewer.js b/src/viewer.js index 507b2017..42d25244 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -835,6 +835,14 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, return this; }, + hideControls: function() { + beginControlsAutoHide(this); + }, + + showControls: function() { + abortControlsAutoHide(this); + }, + /** * @function * @return {Boolean}