From 99e37ce78c868ddc74f060569babaed51e5f4da9 Mon Sep 17 00:00:00 2001 From: Miguel Angel Simon Sierra Date: Wed, 23 Sep 2026 01:41:34 -0400 Subject: [PATCH] docs(skills): say that lottie-web loops when loop is left out --- skills/hyperframes-animation/adapters/lottie.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills/hyperframes-animation/adapters/lottie.md b/skills/hyperframes-animation/adapters/lottie.md index 9f5e940a1a..4e50381d8a 100644 --- a/skills/hyperframes-animation/adapters/lottie.md +++ b/skills/hyperframes-animation/adapters/lottie.md @@ -11,7 +11,7 @@ HyperFrames can seek both `lottie-web` and dotLottie players through its `lottie - Load assets from local project files, usually under `assets/`. - Set `autoplay: false`. -- Use `loop: false` for a one-shot and `loop: true` for a cycle (walk, idle, spinner). A looping animation is seeked to composition time modulo its own length, so it keeps cycling for the whole scene; a one-shot holds its last frame. +- Use `loop: false` for a one-shot and `loop: true` for a cycle (walk, idle, spinner). A looping animation is seeked to composition time modulo its own length, so it keeps cycling for the whole scene; a one-shot holds its last frame. Always set `loop`: lottie-web treats a missing `loop` as `true`. - Register every returned animation or player on `window.__hfLottie`. - Keep the Lottie container dimensions stable with CSS.