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
Feature request: opening and closing animation options #5
Comments
I made a todo list locally and it was on my list, adding more animations and even custom animations. |
Added animations usable with the new option Renamed closeFadeout to closeAnimated to reflect the last changes Delete functions that where being called once
I added an The library is tied to the If you want the library to be able to have more complex animation like your example, just tell me and i'll look at what I can do, it would be good to have such nice animations :) |
Haven't messed with it yet but I'm about to. Looks pretty damn good to me! Love the release clips. Thanks for the excellent project maintenance. I leave in a few days but I wish you the best of luck in the future until I am back at a computer to bug you with more requests ;) |
It would be neat if there could be things like sliding in from the right, left, top, and bottom for opening then sliding out for closing. Basically something like this but with options instead of the one preset method.
It could be implemented with an openingAnimation and closingAnimation option, with things like
slideInLeft
and possibly an option for timings, making it an object parameter likeopeningAnimation= { animation: "slideInLeft", time: 400 }
with a default amount like 400. The default could befadeIn
for openingAnimation andfadeOut
for closingAnimation.I have already implemented a small version of this in my project, where I replaced the code of
@keyframes insert-right
with the following to make it actually insert from the bottom:If there was official support for this, it would make customization much easier. This actually ties in with my next issue I will create. Don't hesitate to clarify any confusions, I know this is a lot in one issue.
The text was updated successfully, but these errors were encountered: