From 02de2ee829a54470aef5b52f6de7ab4c2a3f534c Mon Sep 17 00:00:00 2001 From: Niklas von Hertzen Date: Thu, 21 Dec 2017 23:42:59 +0800 Subject: [PATCH] Document data-html2canvas-ignore (Fix #1316) --- docs/configuration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index 6f4e10a..dd77ce2 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -30,3 +30,5 @@ These are all of the available configuration options. | scrollY | `Element` scrollY | The y-scroll position to used when rendering element, (for example if the Element uses `position: fixed`) | windowWidth | `Window.innerWidth` | Window width to use when rendering `Element`, which may affect things like Media queries | windowHeight | `Window.innerHeight` | Window height to use when rendering `Element`, which may affect things like Media queries + +If you wish to exclude certain `Element`s from getting rendered, you can add a `data-html2canvas-ignore` attribute to those elements and html2canvas will exclude them from the rendering.