Fill.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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-toolbar-Fill'>/**
  19. </span> * A non-rendering placeholder item which instructs the Toolbar's Layout to begin using
  20. * the right-justified button container.
  21. *
  22. * @example
  23. * Ext.create('Ext.panel.Panel', {
  24. * title: 'Toolbar Fill Example',
  25. * width: 300,
  26. * height: 200,
  27. * tbar : [
  28. * 'Item 1',
  29. * { xtype: 'tbfill' },
  30. * 'Item 2'
  31. * ],
  32. * renderTo: Ext.getBody()
  33. * });
  34. */
  35. Ext.define('Ext.toolbar.Fill', {
  36. extend: 'Ext.Component',
  37. alias: 'widget.tbfill',
  38. alternateClassName: 'Ext.Toolbar.Fill',
  39. <span id='Ext-toolbar-Fill-property-isFill'> /**
  40. </span> * @property {Boolean} isFill
  41. * `true` in this class to identify an object as an instantiated Fill, or subclass thereof.
  42. */
  43. isFill : true,
  44. flex: 1
  45. });</pre>
  46. </body>
  47. </html>