Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added enchancement for #1994 by adding two parameters to .stop() whic…
…h give additional functionality. The first parameter clearQueue will clear the queue on the necessary DOM elements so all animation will stop. The second parameter will cause the currently playing animation to immediately complete including reseting original styles on show and hide and calling the callback function. If no parameters are passed it will work as it always did. While adding unit testing I noticed the stop() unit test wasn't working correctly because the element was hidden so I fixed it and added more unit tests around the new functionality. I also added a cursor:pointer to the css (because for a long time I didn't know they were clickable).
- Loading branch information
Showing with 119 additions and 23 deletions.