BorderSplitter.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>The source code</title>
  6. <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  7. <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  8. <style type="text/css">
  9. .highlight { display: block; background-color: #ddd; }
  10. </style>
  11. <script type="text/javascript">
  12. function highlight() {
  13. document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
  14. }
  15. </script>
  16. </head>
  17. <body onload="prettyPrint(); highlight();">
  18. <pre class="prettyprint lang-js"><span id='Ext-resizer-BorderSplitter'>/**
  19. </span> * Private utility class for Ext.layout.container.Border.
  20. * @private
  21. */
  22. Ext.define('Ext.resizer.BorderSplitter', {
  23. extend: 'Ext.resizer.Splitter',
  24. uses: ['Ext.resizer.BorderSplitterTracker'],
  25. alias: 'widget.bordersplitter',
  26. // must be configured in by the border layout:
  27. collapseTarget: null,
  28. getTrackerConfig: function () {
  29. var trackerConfig = this.callParent();
  30. trackerConfig.xclass = 'Ext.resizer.BorderSplitterTracker';
  31. return trackerConfig;
  32. }
  33. });
  34. </pre>
  35. </body>
  36. </html>