Skip to content

Commit

Permalink
Document data-html2canvas-ignore (Fix #1316)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasvh committed Dec 21, 2017
1 parent a570f5d commit 02de2ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/configuration.md
Expand Up @@ -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.

0 comments on commit 02de2ee

Please sign in to comment.