From cdf97f019ef9618b516f084e75d333f0bd85eca6 Mon Sep 17 00:00:00 2001 From: Davide Tantillo Date: Fri, 2 May 2025 17:37:36 +0200 Subject: [PATCH] Cleaned up examples. --- .../example/webcomponent-tutorial.html | 298 +++++++++++++----- 1 file changed, 211 insertions(+), 87 deletions(-) diff --git a/spine-ts/spine-webgl/example/webcomponent-tutorial.html b/spine-ts/spine-webgl/example/webcomponent-tutorial.html index b83d6ec7c..79535aef6 100644 --- a/spine-ts/spine-webgl/example/webcomponent-tutorial.html +++ b/spine-ts/spine-webgl/example/webcomponent-tutorial.html @@ -583,12 +583,11 @@ +async function updateCelesteAnimations() { + const celesteAnimations = await spine.getSpineWidget("celeste-animations").whenReady; + var celesteAnimationsTextArea = document.getElementById("celeste-animations-text-area"); + celesteAnimations.setAttribute("animations", celesteAnimationsTextArea.value) +}`); - - -