From 52d989f9081cd72e6f815a26551be79a81e15537 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 14 Feb 2017 11:17:39 -0800 Subject: [PATCH] Update docs for non-offscreen invalidate --- docs/api/web-contents.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 38e5808594e8..7c636aee3947 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -1210,6 +1210,8 @@ Returns `Integer` - If *offscreen rendering* is enabled returns the current fram #### `contents.invalidate()` +Schedules a full repaint of the window this web contents is in. + If *offscreen rendering* is enabled invalidates the frame and generates a new one through the `'paint'` event.