You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/docs/components/component-guide.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ Available attributes are:
21
21
|`dpr`|`Infinity`|[Device pixel ratio](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio). Will automatically adjust to the screen's DPR if set to `Infinity`. |
22
22
|`dispatch-after-render`|`false`| Set to `true` to dispatch an `afterrender``CustomEvent` after every render. See [`<three-lunchbox>` events](/components/events#three-lunchbox-events). |
23
23
|`dispatch-before-render`|`false`| Set to `true` to dispatch a `beforerender``CustomEvent` before every render. See [`<three-lunchbox>` events](/components/events#three-lunchbox-events). |
24
+
|`headless`|`false`| Set to `true` to prevent automatic WebGLRenderer initialization. Useful in unit tests, for example. |
24
25
|`manual-render`|`false`| Set to `true` to prevent automatic rendering. Note you'll need to call `renderThree()` yourself if this is the case. |
25
26
|`renderer`|`null`| Options to pass to the default renderer. Accepts an object that is parsed and whose values are sent to the renderer. See `camera` for formatting. |
26
27
|`scene`|`null`| Options to pass to the default scene. Accepts an object that is parsed and whose values are sent to the scene. See `camera` for formatting. |
0 commit comments