swc/crates/jsdoc/tests/fixtures/variations.js

27 lines
665 B
JavaScript
Raw Normal View History

2020-08-14 12:20:25 +03:00
/**
* @namespace anim
*/
/**
* @method anim.fadein(1)
* @desc Show the nodelist elements by fading them to opaque.
* @since 1.0
*
* @param {number} [duration=400] How long the animation will run.
* @param {function} [callback] Called once the animation is complete.
*
* @returns {this}
*/
/**
* @method anim.fadein(2)
* @desc Show the nodelist elements by fading them to opaque.
* @since 1.4.3
*
* @param {number} [duration=400] How long the animation will run.
* @param {string} [easing=swing] The easing function for the transition.
* @param {function} [callback] Called once the animation is complete.
*
* @returns {this}
*/