From 3b5e036dc43094f7bee688eab3ec30f77adea04a Mon Sep 17 00:00:00 2001 From: Ryan Gossiaux Date: Sat, 18 Dec 2021 18:36:58 -0800 Subject: [PATCH] Add more examples --- .../component-examples/nested/_Box.svelte | 20 ++++++++++ .../component-examples/nested/hidden.svelte | 37 +++++++++++++++++++ .../component-examples/nested/unmount.svelte | 37 +++++++++++++++++++ .../component-examples/peek-a-boo.svelte | 33 +++++++++++++++++ 4 files changed, 127 insertions(+) create mode 100644 src/routes/transitions/component-examples/nested/_Box.svelte create mode 100644 src/routes/transitions/component-examples/nested/hidden.svelte create mode 100644 src/routes/transitions/component-examples/nested/unmount.svelte create mode 100644 src/routes/transitions/component-examples/peek-a-boo.svelte diff --git a/src/routes/transitions/component-examples/nested/_Box.svelte b/src/routes/transitions/component-examples/nested/_Box.svelte new file mode 100644 index 0000000..1fb9b8b --- /dev/null +++ b/src/routes/transitions/component-examples/nested/_Box.svelte @@ -0,0 +1,20 @@ + + + +
+ This is a box + +
+
diff --git a/src/routes/transitions/component-examples/nested/hidden.svelte b/src/routes/transitions/component-examples/nested/hidden.svelte new file mode 100644 index 0000000..c312b7d --- /dev/null +++ b/src/routes/transitions/component-examples/nested/hidden.svelte @@ -0,0 +1,37 @@ + + +
+
+ + + + + + + + + + + + + + + + + + + + +
+
diff --git a/src/routes/transitions/component-examples/nested/unmount.svelte b/src/routes/transitions/component-examples/nested/unmount.svelte new file mode 100644 index 0000000..e0adcbf --- /dev/null +++ b/src/routes/transitions/component-examples/nested/unmount.svelte @@ -0,0 +1,37 @@ + + +
+
+ + + + + + + + + + + + + + + + + + + + +
+
diff --git a/src/routes/transitions/component-examples/peek-a-boo.svelte b/src/routes/transitions/component-examples/peek-a-boo.svelte new file mode 100644 index 0000000..e9e5258 --- /dev/null +++ b/src/routes/transitions/component-examples/peek-a-boo.svelte @@ -0,0 +1,33 @@ + + +
+
+ + + + + + Contents to show and hide + +
+