Fix backgroundColor option documentation (Fix #1164)

This commit is contained in:
MoyuScript
2017-12-12 21:23:53 +08:00
parent 439d7c40b4
commit 9fdba127bf
4 changed files with 5 additions and 4 deletions

View File

@ -13,7 +13,7 @@ These are all of the available configuration options.
| ------------- | :------: | ----------- |
| async | `true` | Whether to parse and render the element asynchronously
| allowTaint | `false` | Whether to allow cross-origin images to taint the canvas
| backgroundColor | `#ffffff` | Canvas background color, if none is specified in DOM. Set undefined for transparent
| backgroundColor | `#ffffff` | Canvas background color, if none is specified in DOM. Set `null` for transparent
| canvas | `null` | Existing `canvas` element to use as a base for drawing on
| foreignObjectRendering | `false` | Whether to use ForeignObject rendering if the browser supports it
| imageTimeout | `15000` | Timeout for loading an image (in milliseconds). Set to `0` to disable timeout.