Web Interface For Lite Argus Control modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.3 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <html>
  2. <head>
  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>
  7. </head>
  8. <body onload="prettyPrint();">
  9. <pre class="prettyprint lang-js">/*!
  10. * Ext JS Library 3.3.1
  11. * Copyright(c) 2006-2010 Sencha Inc.
  12. * licensing@sencha.com
  13. * http://www.sencha.com/license
  14. */
  15. /**
  16. * @class Ext.Element
  17. */
  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
  25. */
  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);
  29. },
  30. <div id="method-Ext.Element-initDDProxy"></div>/**
  31. * Initializes a {@link Ext.dd.DDProxy} object for this element.
  32. * @param {String} group The group the DDProxy object is member of
  33. * @param {Object} config The DDProxy config object
  34. * @param {Object} overrides An object containing methods to override/implement on the DDProxy object
  35. * @return {Ext.dd.DDProxy} The DDProxy object
  36. */
  37. initDDProxy : function(group, config, overrides){
  38. var dd = new Ext.dd.DDProxy(Ext.id(this.dom), group, config);
  39. return Ext.apply(dd, overrides);
  40. },
  41. <div id="method-Ext.Element-initDDTarget"></div>/**
  42. * Initializes a {@link Ext.dd.DDTarget} object for this element.
  43. * @param {String} group The group the DDTarget object is member of
  44. * @param {Object} config The DDTarget config object
  45. * @param {Object} overrides An object containing methods to override/implement on the DDTarget object
  46. * @return {Ext.dd.DDTarget} The DDTarget object
  47. */
  48. initDDTarget : function(group, config, overrides){
  49. var dd = new Ext.dd.DDTarget(Ext.id(this.dom), group, config);
  50. return Ext.apply(dd, overrides);
  51. }
  52. });</pre>
  53. </body>
  54. </html>