Run a function #5450
-
Is there any way to run a function when hiding a element was complete? |
Beta Was this translation helpful? Give feedback.
Answered by
Masihdeveloper
Mar 16, 2024
Replies: 1 comment
-
Yes, Simply add callback parameter in the hide method, For example: $("my-element").hide(1000, callback) Place your function name instead of the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Nimamzi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, Simply add callback parameter in the hide method, For example:
Place your function name instead of the
callback
which should be run when the element was hidden!