]> git.proxmox.com Git - sencha-touch.git/blob - src/src/fx/easing/Abstract.js
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / src / fx / easing / Abstract.js
1 /**
2 * @private
3 */
4 Ext.define('Ext.fx.easing.Abstract', {
5
6 config: {
7 startTime: 0,
8 startValue: 0
9 },
10
11 isEasing: true,
12
13 isEnded: false,
14
15 constructor: function(config) {
16 this.initConfig(config);
17
18 return this;
19 },
20
21 applyStartTime: function(startTime) {
22 if (!startTime) {
23 startTime = Ext.Date.now();
24 }
25
26 return startTime;
27 },
28
29 updateStartTime: function(startTime) {
30 this.reset();
31 },
32
33 reset: function() {
34 this.isEnded = false;
35 },
36
37 getValue: Ext.emptyFn
38 });