-
Notifications
You must be signed in to change notification settings - Fork 0
Svelte 5 - Animations and page transition #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: svelte-5
Are you sure you want to change the base?
Conversation
| onDestroy(unsubscribe); | ||
| return transitioning; | ||
| }; | ||
| }) as ArchitectInstance['start']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider statisfies instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried but ts complains that the ...args type is not good. Its a pretty complex type but since I'm just passing the args to registerTransition directly I figured it wouldn't matter much that I cast it.
| * Easing of the animation. DEFAULT: 'linear' | ||
| */ | ||
| easing?: Easing; | ||
| ease?: Easing; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please mark easing as deprecated
Update to Svelte 5 and Motion 12.