Skip to content

Commit

Permalink
Update & publish new doc versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Blue Fire committed Jan 9, 2024
1 parent 4689d61 commit caf1ae8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/main/_sources/flame/components.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ it is only run once even if the component is removed both by using the parents r
the `Component` remove method.

The `onLoad` method can be overridden to run asynchronous initialization code for the component,
like loading an image for example. This method is executed after `onGameResize`, but before
like loading an image for example. This method is executed before `onGameResize` and
`onMount`. This method is guaranteed to execute only once during the lifetime of the component, so
you can think of it as an "asynchronous constructor".

Expand Down
2 changes: 1 addition & 1 deletion docs/main/flame/components.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ <h3>Component lifecycle<a class="headerlink" href="#component-lifecycle" title="
it is only run once even if the component is removed both by using the parents remove method and
the <code class="docutils literal notranslate"><span class="pre">Component</span></code> remove method.</p>
<p>The <code class="docutils literal notranslate"><span class="pre">onLoad</span></code> method can be overridden to run asynchronous initialization code for the component,
like loading an image for example. This method is executed after <code class="docutils literal notranslate"><span class="pre">onGameResize</span></code>, but before
like loading an image for example. This method is executed before <code class="docutils literal notranslate"><span class="pre">onGameResize</span></code> and
<code class="docutils literal notranslate"><span class="pre">onMount</span></code>. This method is guaranteed to execute only once during the lifetime of the component, so
you can think of it as an “asynchronous constructor”.</p>
<p>The <code class="docutils literal notranslate"><span class="pre">onMount</span></code> method runs every time when the component is mounted into a game tree. This means that
Expand Down

0 comments on commit caf1ae8

Please sign in to comment.