mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
27 lines
665 B
JavaScript
27 lines
665 B
JavaScript
/**
|
|
* @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}
|
|
*/
|