Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.fx.Easing.html
1 <!DOCTYPE html><html><head><title>Ext.fx.Easing | Ext JS 4.0 Documentation</title><script type="text/javascript" src="../ext-all.js"></script><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../scrollbars.css" type="text/css"><link rel="stylesheet" href="../docs.css" type="text/css"><link id="styleCss" rel="stylesheet" href="../style.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script><link rel="stylesheet" href="../prettify.css" type="text/css"><!-- link(rel: 'stylesheet', href: req.baseURL + '/css/ext4.css', type: 'text/css')--><link rel="shortcut icon" type="image/ico" href="../favicon.ico"><!--[if IE]>
2 <style type="text/css">.head-band { display: none; }
3 .header { border: 0; top: 0; left: 0px; background: url(../header.gif) repeat-x; }
4 .doc-tab .members .member a.more { background-color: #efefef; }
5 </style><link rel="stylesheet" href="/new/css/ie.css" type="text/css"><![endif]-->
6 </head><body id="ext-body" class="iScroll"><div id="notice" class="notice">For up to date documentation and features, visit 
7 <a href="http://docs.sencha.com/ext-js/4-0">http://docs.sencha.com/ext-js/4-0</a></div><div class="wrapper"><div class="head-band"></div><div class="header"><h2><a href="../index.html">Sencha Documentation</a></h2></div><div id="search"><form><input type="text" placeholder="Search" id="search-field" autocomplete="off" name="q"></form><div id="search-box"></div></div><div id="treePanel"></div><div id="container"><script type="text/javascript">
8
9     req = {
10         liveURL: '.',
11         standAloneMode: true,
12         origDocClass: 'Ext.fx.Easing',
13         docClass: 'Ext.fx.Easing',
14         docReq: 'Ext.fx.Easing',
15         version: '4.0',
16         baseURL: '.',
17         baseDocURL: '.',
18         baseProdURL: '.'
19     };
20
21     clsInfo = {};
22
23
24
25 </script>
26
27 <script type="text/javascript" src="../search.js"></script>
28 <!--script type="text/javascript" src="/new/javascripts/app/examples.js"></script-->
29 <script type="text/javascript" src="../class_tree.js"></script>
30 <script type="text/javascript" src="../class_doc.js"></script>
31 <script type="text/javascript">
32     req.source = 'Easing.html#Ext-fx.Easing';
33     clsInfo = {"methods":[],"cfgs":[],"properties":[],"events":[],"subclasses":[]};
34     Ext.onReady(function() {
35         Ext.create('Docs.classPanel');
36     });
37 </script><div id="top-block" class="top-block"><h1 id="clsTitle" class="cls"><a href="../source/Easing.html#Ext-fx.Easing" target="_blank">Ext.fx.Easing</a></h1></div><div id="docContent"><div id="doc-overview-content"><div class="lft"><p>This class contains a series of function definitions used to modify values during an animation.
38 They describe how the intermediate values used during a transition will be calculated. It allows for a transition to change
39 speed over its duration. The following options are available:</p>
40
41 <ul>
42 <li>linear The default easing type</li>
43 <li>backIn</li>
44 <li>backOut</li>
45 <li>bounceIn</li>
46 <li>bounceOut</li>
47 <li>ease</li>
48 <li>easeIn</li>
49 <li>easeOut</li>
50 <li>easeInOut</li>
51 <li>elasticIn</li>
52 <li>elasticOut</li>
53 <li>cubic-bezier(x1, y1, x2, y2)</li>
54 </ul>
55
56
57 <p>Note that cubic-bezier will create a custom easing curve following the CSS3 transition-timing-function specification <code><a href="http://www.w3.org/TR/css3-transitions/#transition-timing-function_tag" rel="http://www.w3.org/TR/css3-transitions/#transition-timing-function_tag" class="docClass">http://www.w3.org/TR/css3-transitions/.transition-timing-function_tag</a></code>. The four values specify points P1 and P2 of the curve
58 as (x1, y1, x2, y2). All values must be in the range [0, 1] or the definition is invalid.</p>
59 <div class="members"></div></div></div><div id="pageContent"></div></div></div></div></body></html>