<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
- <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../prettify/prettify.js"></script>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="text/css">
.highlight { display: block; background-color: #ddd; }
</style>
</script>
</head>
<body onload="prettyPrint(); highlight();">
- <pre class="prettyprint lang-js"><span id='Ext-fx-target-Target-method-constructor'><span id='Ext-fx-target-Target'>/**
-</span></span> * @class Ext.fx.target.Target
+ <pre class="prettyprint lang-js"><span id='Ext-fx-target-Target'>/**
+</span> * @class Ext.fx.target.Target
This class specifies a generic target for an animation. It provides a wrapper around a
series of different types of objects to allow for a generic animation API.
the instance to be animated.
The following types of objects can be animated:
-- {@link #Ext.fx.target.Component Components}
-- {@link #Ext.fx.target.Element Elements}
-- {@link #Ext.fx.target.Sprite Sprites}
+
+- {@link Ext.fx.target.Component Components}
+- {@link Ext.fx.target.Element Elements}
+- {@link Ext.fx.target.Sprite Sprites}
* @markdown
* @abstract
- * @constructor
- * @param {Mixed} target The object to be animated
*/
-
Ext.define('Ext.fx.target.Target', {
isAnimTarget: true,
+<span id='Ext-fx-target-Target-method-constructor'> /**
+</span> * Creates new Target.
+ * @param {Ext.Component/Ext.Element/Ext.draw.Sprite} target The object to be animated
+ */
constructor: function(target) {
this.target = target;
this.id = this.getId();