| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 4 | 3 | 0.974 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 427 | Closure/closure/goog/fx/dom.js |
| 2 | 4 | 443 | Closure/closure/goog/fx/dom.js |
| 3 | 4 | 459 | Closure/closure/goog/fx/dom.js |
| 4 | 4 | 490 | Closure/closure/goog/fx/dom.js |
| ||||
/**
* Fades an element out from full opacity to completely transparent.
*
* @param {Element} element Dom Node to be used in the animation.
* @param {number} time Length of animation in milliseconds.
* @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
* @extends {goog.fx.dom.Fade}
* @constructor
*/
goog.fx.dom.FadeOut= function (element, time, opt_acc){
goog.fx.dom.Fade.call(this, element, 1, 0, time, opt_acc);
} ;
goog.inherits(goog.fx.dom.FadeOut, goog.fx.dom.Fade);
|
| ||||
/**
* Fades an element in from completely transparent to fully opacity.
*
* @param {Element} element Dom Node to be used in the animation.
* @param {number} time Length of animation in milliseconds.
* @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
* @extends {goog.fx.dom.Fade}
* @constructor
*/
goog.fx.dom.FadeIn= function (element, time, opt_acc){
goog.fx.dom.Fade.call(this, element, 0, 1, time, opt_acc);
} ;
goog.inherits(goog.fx.dom.FadeIn, goog.fx.dom.Fade);
|
| ||||
/**
* Fades an element out from full opacity to completely transparent and then
* sets the display to 'none'
*
* @param {Element} element Dom Node to be used in the animation.
* @param {number} time Length of animation in milliseconds.
* @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
* @extends {goog.fx.dom.Fade}
* @constructor
*/
goog.fx.dom.FadeOutAndHide= function (element, time, opt_acc){
goog.fx.dom.Fade.call(this, element, 1, 0, time, opt_acc);
} ;
goog.inherits(goog.fx.dom.FadeOutAndHide, goog.fx.dom.Fade);
|
| ||||
/**
* Sets an element's display to be visible and then fades an element in from
* completely transparent to fully opacity
*
* @param {Element} element Dom Node to be used in the animation.
* @param {number} time Length of animation in milliseconds.
* @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
* @extends {goog.fx.dom.Fade}
* @constructor
*/
goog.fx.dom.FadeInAndShow= function (element, time, opt_acc){
goog.fx.dom.Fade.call(this, element, 0, 1, time, opt_acc);
} ;
goog.inherits(goog.fx.dom.FadeInAndShow, goog.fx.dom.Fade);
|
| |||
/**
* Fades an element out from full opacity to completely transparent.
*
* @param {Element} element Dom Node to be used in the animation.
* @param {number} time Length of animation in milliseconds.
* @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
* @extends {goog.fx.dom.Fade}
* @constructor
*/
/**
* Fades an element in from completely transparent to fully opacity.
*
* @param {Element} element Dom Node to be used in the animation.
* @param {number} time Length of animation in milliseconds.
* @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
* @extends {goog.fx.dom.Fade}
* @constructor
*/
/**
* Fades an element out from full opacity to completely transparent and then
* sets the display to 'none'
*
* @param {Element} element Dom Node to be used in the animation.
* @param {number} time Length of animation in milliseconds.
* @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
* @extends {goog.fx.dom.Fade}
* @constructor
*/
/**
* Sets an element's display to be visible and then fades an element in from
* completely transparent to fully opacity
*
* @param {Element} element Dom Node to be used in the animation.
* @param {number} time Length of animation in milliseconds.
* @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
* @extends {goog.fx.dom.Fade}
* @constructor
*/
goog.fx.dom. [[#variable5db645c0]]= function (element,time,opt_acc)
{ goog.fx.dom.Fade.call(this,element, [[#variable5ec99ca0]], [[#variable5db64420]],time,opt_acc);
} ;
goog.inherits(goog.fx.dom. [[#variable5db645c0]],goog.fx.dom.Fade);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5db645c0]] | FadeOut |
| 1 | 2 | [[#5db645c0]] | FadeIn |
| 1 | 3 | [[#5db645c0]] | FadeOutAndHide |
| 1 | 4 | [[#5db645c0]] | FadeInAndShow |
| 2 | 1 | [[#5ec99ca0]] | 1 |
| 2 | 2 | [[#5ec99ca0]] | 0 |
| 2 | 3 | [[#5ec99ca0]] | 1 |
| 2 | 4 | [[#5ec99ca0]] | 0 |
| 3 | 1 | [[#5db64420]] | 0 |
| 3 | 2 | [[#5db64420]] | 1 |
| 3 | 3 | [[#5db64420]] | 0 |
| 3 | 4 | [[#5db64420]] | 1 |