Uses a specific effect on an element to toggle the element if the first argument is an effect string.
Arguments:
| effect | String | |
|---|---|---|
| The effect to be used. Possible values: 'blind', 'clip', 'drop', 'explode', 'fold', 'puff', 'slide', 'scale', 'size', 'pulsate'. | ||
| options | Hash | |
| A object/hash including specific options for the effect. | ||
| speed (Optional) | String, Number | |
| A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000). | ||
| callback (Optional) | Function | |
| A function that is called after the effect is completed. | ||