]>
git.proxmox.com Git - sencha-touch.git/blob - src/src/fx/easing/EaseOut.js
4 Ext
.define('Ext.fx.easing.EaseOut', {
5 extend
: 'Ext.fx.easing.Linear',
7 alias
: 'easing.ease-out',
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
,
22 thetaEnd
= 1 - Math
.pow(thetaC
, this.getExponent()),
23 currentValue
= startValue
+ (thetaEnd
* distance
);
25 if (deltaTime
>= duration
) {