From dd782a427e78a0c30e111f8b6314d690f37037bf Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Sat, 16 May 2015 10:36:00 -0400 Subject: [PATCH] Add documentation on pre-full-screen event. Fix #487 --- src/viewer.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/viewer.js b/src/viewer.js index c8de84f3..7143443d 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -1072,6 +1072,9 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, }; /** * Raised when the viewer is about to change to/from full-screen mode (see {@link OpenSeadragon.Viewer#setFullScreen}). + * Note: the pre-full-screen event is not raised when the user is exiting + * full-screen mode by pressing the Esc key. In that case, consider using + * the full-screen, pre-full-page or full-page events. * * @event pre-full-screen * @memberof OpenSeadragon.Viewer