From 07f6ec4526ed76d92997a7596a296d870286c463 Mon Sep 17 00:00:00 2001 From: Buck Doyle Date: Thu, 14 Dec 2023 15:13:39 -0600 Subject: [PATCH] Fix documentation code blocks --- addon/src/components/animated-each.ts | 1 + addon/src/components/animated-if.ts | 1 + addon/src/components/animated-orphans.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/addon/src/components/animated-each.ts b/addon/src/components/animated-each.ts index ff2e365f..332fb2b9 100644 --- a/addon/src/components/animated-each.ts +++ b/addon/src/components/animated-each.ts @@ -66,6 +66,7 @@ export interface AnimatedEachSignature { /** A drop in replacement for `{{#each}}` that animates changes to a list. + ```hbs {{#animated-each items use=transition duration=2000 as |item|}}
diff --git a/addon/src/components/animated-if.ts b/addon/src/components/animated-if.ts index 501c7d57..a686f168 100644 --- a/addon/src/components/animated-if.ts +++ b/addon/src/components/animated-if.ts @@ -16,6 +16,7 @@ interface AnimatedIfSignature { /** A drop in replacement for `{{#if}}` that animates changes when the predicate changes. Animated-if uses the same arguments as animated-each. + ```hbs diff --git a/addon/src/components/animated-orphans.ts b/addon/src/components/animated-orphans.ts index 878984a8..272421c2 100644 --- a/addon/src/components/animated-orphans.ts +++ b/addon/src/components/animated-orphans.ts @@ -25,6 +25,7 @@ interface AnimatedOrphansSignature { A component that adopts any orphaned sprites so they can continue animating even after their original parent component has been destroyed. This relies on cloning DOM nodes, and the cloned nodes will be inserted as children of animated-orphans. + ```hbs ```