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

how can i we animation same animation oppsite on hide? #33

Open
kingsanu opened this issue Jan 24, 2024 · 3 comments
Open

how can i we animation same animation oppsite on hide? #33

kingsanu opened this issue Jan 24, 2024 · 3 comments

Comments

@kingsanu
Copy link

i using fade-in on element via $('#').show() but how same animation with oppsite effect work on $('#').hide() please note to set animation class by javascript is very hard

@vaibhav111tandon
Copy link
Owner

Hi @kingsanu
Can you please explain a little bit more about what issue are you facing, do you want to use fade-in with show and hide jQuery functions or something else?

@kingsanu
Copy link
Author

yes so fade-in-up work fine on $('#element').show(), but when i call $('#element').hide() i want oppsite animation on hide element exampe 'fade-out-down' something, so animation work well on show and hide both

@vaibhav111tandon
Copy link
Owner

@kingsanu If i am right your requirement is to have show() and hide() on the same animation without adding or removing any animation class in jQuery?

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