]>
git.proxmox.com Git - extjs.git/blob - extjs/packages/core/src/fx/easing/EaseIn.js
4 Ext
.define('Ext.fx.easing.EaseIn', {
5 extend
: 'Ext.fx.easing.Linear',
7 alias
: 'easing.ease-in',
14 getValue: function() {
15 var deltaTime
= Ext
.Date
.now() - this.getStartTime(),
16 duration
= this.getDuration(),
17 startValue
= this.getStartValue(),
18 endValue
= this.getEndValue(),
19 distance
= this.distance
,
20 theta
= deltaTime
/ duration
,
21 thetaEnd
= Math
.pow(theta
, this.getExponent()),
22 currentValue
= startValue
+ (thetaEnd
* distance
);
24 if (deltaTime
>= duration
) {