3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <title>The source code</title>
5 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
6 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
8 <body onload="prettyPrint();">
9 <pre class="prettyprint lang-js">/*!
10 * Ext JS Library 3.2.1
11 * Copyright(c) 2006-2010 Ext JS, Inc.
13 * http://www.extjs.com/license
18 Ext.Element.addMethods({
19 <div id="method-Ext.Element-initDD"></div>/**
20 * Initializes a {@link Ext.dd.DD} drag drop object for this element.
21 * @param {String} group The group the DD object is member of
22 * @param {Object} config The DD config object
23 * @param {Object} overrides An object containing methods to override/implement on the DD object
24 * @return {Ext.dd.DD} The DD object
26 initDD : function(group, config, overrides){
27 var dd = new Ext.dd.DD(Ext.id(this.dom), group, config);
28 return Ext.apply(dd, overrides);
31 <div id="method-Ext.Element-initDDProxy"></div>/**
32 * Initializes a {@link Ext.dd.DDProxy} object for this element.
33 * @param {String} group The group the DDProxy object is member of
34 * @param {Object} config The DDProxy config object
35 * @param {Object} overrides An object containing methods to override/implement on the DDProxy object
36 * @return {Ext.dd.DDProxy} The DDProxy object
38 initDDProxy : function(group, config, overrides){
39 var dd = new Ext.dd.DDProxy(Ext.id(this.dom), group, config);
40 return Ext.apply(dd, overrides);
43 <div id="method-Ext.Element-initDDTarget"></div>/**
44 * Initializes a {@link Ext.dd.DDTarget} object for this element.
45 * @param {String} group The group the DDTarget object is member of
46 * @param {Object} config The DDTarget config object
47 * @param {Object} overrides An object containing methods to override/implement on the DDTarget object
48 * @return {Ext.dd.DDTarget} The DDTarget object
50 initDDTarget : function(group, config, overrides){
51 var dd = new Ext.dd.DDTarget(Ext.id(this.dom), group, config);
52 return Ext.apply(dd, overrides);