12
Stores and Animations
In this chapter, we will delve into the world of Svelte animations, focusing on the power and versatility of the tweened and spring stores. The tweened and spring stores are writable stores in which their store value changes over time when the set or update method is invoked, enabling us to develop more complex and visually appealing animations. By effectively harnessing these stores, you can elevate the user experience and create applications that are both dynamic and captivating.
We begin this chapter by delving into the tweened and spring stores, learning how to create animations using these stores. Following that, we explore interpolation and the use of custom interpolations. Throughout the chapter, we examine various ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access