From 4e29ca8b7cb1ed4f7fd3edb187ee2f016b311d08 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 27 Aug 2022 11:10:28 -0700 Subject: [PATCH] docs(expandable-tile): add "With interactive content" example #1464 --- docs/src/pages/components/ExpandableTile.svx | 24 ++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/docs/src/pages/components/ExpandableTile.svx b/docs/src/pages/components/ExpandableTile.svx index 680cac9d..56be8c24 100644 --- a/docs/src/pages/components/ExpandableTile.svx +++ b/docs/src/pages/components/ExpandableTile.svx @@ -3,7 +3,7 @@ source: Tile/ExpandableTile.svelte --- @@ -33,4 +33,24 @@ source: Tile/ExpandableTile.svelte
Above the fold content here
Below the fold content here
-
\ No newline at end of file + + +## With interactive content + +For tiles containing interactive content, use `stopPropagation` to prevent the tile from toggling. + + +
+ console.log("Hello world")}> + Native element + +

+ +
+
Below the fold content here
+