From 157a290e38ecd8416ffcaf558b1d734c276b8de4 Mon Sep 17 00:00:00 2001 From: Heilig Benedek Date: Tue, 9 Feb 2016 02:41:19 +0100 Subject: [PATCH] :memo: Adding documentation for will-enter-full-screen event --- docs/api/browser-window.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 7cf684a39539..827bb84db810 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -276,6 +276,11 @@ __Note__: On OS X this event is just an alias of `moved`. Emitted once when the window is moved to a new position. +### Event: 'will-enter-full-screen' + +Emitted when the window is about to enter full screen state. Calling `event.preventDefault()` +will cancel the state change. + ### Event: 'enter-full-screen' Emitted when the window enters full screen state.