From a5394c62f7ef669e259ad6c0129eff381555bec9 Mon Sep 17 00:00:00 2001 From: edsilv Date: Sat, 21 Feb 2015 11:44:04 +0000 Subject: [PATCH] show/hide controls --- src/viewer.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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}