Skip to content

Commit

Permalink
Docs and minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidetan committed Oct 21, 2024
1 parent 0fa9602 commit 38f5231
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 392 deletions.
6 changes: 3 additions & 3 deletions spine-ts/spine-webgl/example/webcomponent-tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@
By default, the callback does two things:
<ul>
<li>set <code>onScreenAtLeastOnce</code> to <code>true</code> when the widget enters the viewport the first time</li>
<li>if <code>manual-start</code> and <code>on-viewport-manual-start</code> are set the widget <code>start</code> is invoked
<li>if <code>manual-start</code> and <code>on-screen-manual-start</code> are set the widget <code>start</code> is invoked
the first time the widget enters the viewport and the assets are loaded only in that moment.</li>
</ul>
<br>
Expand All @@ -1449,7 +1449,7 @@
skeleton="assets/coin-pro.skel"
animation="animation"
manual-start
on-viewport-manual-start
on-screen-manual-start
></spine-widget>
</div>
<div class="skin-grid-element">
Expand Down Expand Up @@ -1981,7 +1981,7 @@
2) For scrollable containers, the widget will overflow the container bounds until the widget html element container is visible <br>
3) For fixed containers, the widget will scroll in a jerky way <br>
<br>
In order to fix this behaviour, it is necessary to insert a dedicated <code>spine-overlay</code> webcomponent as a direct child of the container.
In order to fix this behaviour, it is necessary to insert a dedicated <code>spine-overlay</code> webcomponent as a direct child of the container.
Moreover, it is necessary to perform the following actions: <br>
<br>
1) The scrollable container must have a <code>transform</code> css attribute. If it hasn't this attribute the <code>spine-overlay</code> will add it for you.
Expand Down
367 changes: 0 additions & 367 deletions spine-ts/spine-webgl/example/webcomponent-tutorial2.html

This file was deleted.

Loading

0 comments on commit 38f5231

Please sign in to comment.