Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for slideToggle to take an optional state parameter
By adding the state parameter, slideToggle can now be called in the following ways: slideToggle(); slideToggle(speed); slideToggle(state); slideToggle(callback); slideToggle(speed,callback); slideToggle(state,callback); slideToggle(speed,state,callback); If `state` is `true` then `slideDown` is called. If `state` is `false` then `slideUp` is called. If `state` is not a boolean, then the original `slideToggle` is called. (It was moved to `_slideToggle`)
- Loading branch information