Skip to content
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

Update animate example to use animate directive and built-in crossfad… #2741

Merged
merged 2 commits into from May 12, 2019

Conversation

pngwn
Copy link
Member

@pngwn pngwn commented May 12, 2019

It turns out the animation example (in /examples) wasn't actually using the animate directive at all. It was also still using a local crossfade function.

I've updated this example, adding the animate directive and swapping the local crossfade for the one that now ships with svelte (they actually had a different signature, so could have been confusing). I have removed the local crossfade.js as it is no longer needed.

@Rich-Harris Rich-Harris merged commit 9dbd99b into sveltejs:master May 12, 2019
@Rich-Harris
Copy link
Member

Redeployed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants