Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add option for animating gridstack with css transitions #25

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

Merged
merged 1 commit into from
Dec 5, 2014

Conversation

ishields
Copy link

@ishields ishields commented Dec 4, 2014

This add's some animation effects to gridstack when widgets are shifter. This helps users visualize where elements are being repositioned to. I've added this as an option, and the default is set to false. Have not generated min css or js for this change.

This was inspired by a feature I saw in gridster.net

@troolee troolee added this to the 0.2.1 milestone Dec 4, 2014
troolee added a commit that referenced this pull request Dec 5, 2014
Add option for animating gridstack with css transitions
@troolee troolee merged commit 4fed4cf into gridstack:master Dec 5, 2014
@ishields
Copy link
Author

ishields commented Dec 5, 2014

@troolee @castler The issue with an option for transition time is since it's using css for the animation, you would have to add code to write the class dynamically. Definitely easy enough but I think in most case the fixed transition at .3 will be fine. If this is still a desirable option, maybe open a separate issue since this got merged.

@troolee
Copy link
Member

troolee commented Dec 5, 2014

That's right. It shouldn't be a problem to construct that CSS in run-time. I will try.

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.

3 participants