Merge pull request #655 from avandecreme/master

Add documentation on pre-full-screen event. Fix #487
This commit is contained in:
Ian Gilman 2015-05-18 09:26:15 -07:00
commit 5617b19ba5

View File

@ -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