From 0cadf2846be05d1dfadd6274d2d989f13ef8f36a Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Thu, 21 Nov 2019 11:12:03 -0800 Subject: [PATCH] docs: remove string literal type from window events (#21235) --- docs/api/browser-window.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index fdba88f8eb18..d54d4c1457bf 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -517,7 +517,7 @@ Emitted when the window is restored from a minimized state. Returns: * `event` Event -* `newBounds` [`Rectangle`](structures/rectangle.md) - Size the window is being resized to. +* `newBounds` [Rectangle](structures/rectangle.md) - Size the window is being resized to. Emitted before the window is resized. Calling `event.preventDefault()` will prevent the window from being resized. @@ -532,7 +532,7 @@ Emitted after the window has been resized. Returns: * `event` Event -* `newBounds` [`Rectangle`](structures/rectangle.md) - Location the window is being moved to. +* `newBounds` [Rectangle](structures/rectangle.md) - Location the window is being moved to. Emitted before the window is moved. On Windows, calling `event.preventDefault()` will prevent the window from being moved.