Skip to content

Commit

Permalink
docs: troisjs#24 describes three.resize call
Browse files Browse the repository at this point in the history
  • Loading branch information
oneWaveAdrian committed Jun 23, 2021
1 parent 57a969c commit 283587d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/guide/core/renderer.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ See [Renderer.ts](https://github.com/troisjs/trois/blob/master/src/core/Renderer
<li><code>true</code> : parent size</li>
<li><code>'window'</code> : window size</li>
</ul>
To directly set the size of the renderer you can call the built in three function:
<code>this.$refs.renderer.three.setSize(width, height)</code>
</td>
<td>Boolean, String</td>
<td>false</td>
Expand Down

0 comments on commit 283587d

Please sign in to comment.