diff --git a/spine-ts/spine-webcomponents/example/tutorial.html b/spine-ts/spine-webcomponents/example/tutorial.html index 899524222..a4bc43e0e 100644 --- a/spine-ts/spine-webcomponents/example/tutorial.html +++ b/spine-ts/spine-webcomponents/example/tutorial.html @@ -2043,19 +2043,16 @@ skins.forEach((skin, i) => {
- When the widget (or the parent element) enters the viewport, the callback onScreenFunction is invoked. -
-
- By default, the callback does two things: - -
- The assets of the coin below are loaded only when the widget enters the viewport. -
-
- You can overwrite the onScreenFunction behavior. For example, the raptor below changes its animation every time the widget enters the viewport. + When the widget (or its parent element) enters the viewport, two things happen:
+ + By default, onScreenFunction invokes the widget's start method if the widget has the start-when-visible attribute set, and this occurs only the first time it enters the viewport.
+
+ The assets of the coin below are loaded only when the widget enters the viewport.
+
+ You can override the onScreenFunction behavior. For example, the raptor below changes its animation every time the widget enters the viewport.
@@ -2078,7 +2075,6 @@ skins.forEach((skin, i) => {