jQuery | finish() with Example
The finish() is an inbuilt method in jQuery which is used to stop the animations running at the present time.
Parameter: It does not accept any parameter.
Return Value: It returns the selected element with its final values.
jQuery code to show the working of finish() method:
Before clicking on the “Start” button-
After clicking on the start button animation will start with its specified speed and when stop button is clicked then it immediately finish the animation and return the element to its final height and width value.
My Personal Notes arrow_drop_up
Please Login to comment...