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) => {
onScreenFunction is invoked.
- onScreenAtLeastOnce to true when the widget enters the viewport for the first timestart-when-visible is set, the widget's start method is invoked the first time the widget enters the viewport, and the assets are loaded at that moment.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:onScreenAtLeastOnce property is set to trueonScreenFunction callback is invokedonScreenFunction 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.onScreenFunction behavior. For example, the raptor below changes its animation every time the widget enters the viewport.