Home | History | Annotate | Download | only in jquery

Lines Matching refs:Tween

6157 function Tween( elem, options, prop, end, easing ) {
6158 return new Tween.prototype.init( elem, options, prop, end, easing );
6160 jQuery.Tween = Tween;
6162 Tween.prototype = {
6163 constructor: Tween,
6174 var hooks = Tween.propHooks[ this.prop ];
6178 Tween.propHooks._default.get( this );
6182 hooks = Tween.propHooks[ this.prop ];
6200 Tween.propHooks._default.set( this );
6206 Tween.prototype.init.prototype = Tween.prototype;
6208 Tween.propHooks = {
6210 get: function( tween ) {
6213 if ( tween.elem[ tween.prop ] != null &&
6214 (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) {
6215 return tween.elem[ tween.prop ];
6222 result = jQuery.css( tween.elem, tween.prop, "" );
6226 set: function( tween ) {
6230 if ( jQuery.fx.step[ tween.prop ] ) {
6231 jQuery.fx.step[ tween.prop ]( tween );
6232 } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) {
6233 jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );
6235 tween.elem[ tween.prop ] = tween.now;
6243 Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
6244 set: function( tween ) {
6245 if ( tween.elem.nodeType && tween.elem.parentNode ) {
6246 tween.elem[ tween.prop ] = tween.now;
6260 jQuery.fx = Tween.prototype.init;
6276 var tween = this.createTween( prop, value ),
6277 target = tween.cur(),
6283 rfxnum.exec( jQuery.css( tween.elem, prop ) ),
6291 // Make sure we update the tween properties later on
6304 jQuery.style( tween.elem, prop, start + unit );
6306 // Update scale, tolerating zero or NaN from tween.cur(),
6308 } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations );
6311 // Update tween properties
6313 start = tween.start = +start || +target || 0;
6314 tween.unit = unit;
6316 tween.end = parts[ 1 ] ?
6321 return tween;
6355 var tween,
6360 if ( (tween = collection[ index ].call( animation, prop, value )) ) {
6363 return tween;
6370 var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
6484 tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );
6487 dataShow[ prop ] = tween.start;
6489 tween.end = tween.start;
6490 tween.start = prop === "width" || prop === "height" ? 1 : 0;
6583 var tween = jQuery.Tween( elem, animation.opts, prop, end,
6585 tween );
6586 return tween;