]>
git.proxmox.com Git - sencha-touch.git/blob - src/src/fx/easing/Bounce.js
4 Ext
.define('Ext.fx.easing.Bounce', {
6 extend
: 'Ext.fx.easing.Abstract',
14 getValue: function() {
15 var deltaTime
= Ext
.Date
.now() - this.getStartTime(),
16 theta
= (deltaTime
/ this.getAcceleration()),
17 powTime
= theta
* Math
.pow(Math
.E
, -this.getSpringTension() * theta
);
19 return this.getStartValue() + (this.getStartVelocity() * powTime
);