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

Deleting items, with animation #43

Closed
andrewlilley-ux opened this issue Jul 31, 2020 · 2 comments
Closed

Deleting items, with animation #43

andrewlilley-ux opened this issue Jul 31, 2020 · 2 comments

Comments

@andrewlilley-ux
Copy link

Are there plans to allow for deleting items, with animation?

@paololeonardi
Copy link
Owner

With grid style, you can pass the animation to use when data change.
The animation applies to the deleted items as well.
Does this answer your question?

WaterfallGrid(rectangles, content: RectangleView.init)
.gridStyle(
  animation: .easeInOut(duration: 0.5)
)

Delete Animation

@andrewlilley-ux
Copy link
Author

Yeah, thanks.

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

No branches or pull requests

2 participants