generated from argyleink/shortstack
-
Notifications
You must be signed in to change notification settings - Fork 130
Add a transition
Adam Argyle edited this page Sep 30, 2020
·
4 revisions
- Write transition
- Include the transition in the library bundle(s)
- Include the transition in the Svelte docsite
- Sandbox for getting started https://codepen.io/argyleink/pen/RwamzKX
- Look to see which shape type your transition fits into (circle, square, polygon or wipe)
- Isolate the stateful custom properties you need
- Create your 2 keyframe animations (in and out)
- Have a nice working demo that can be toggled in and out
- ~2 custom properties with your clip paths in them
- 2 keyframe animations using your custom properties