Item2.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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-Item'>/**
  19. </span> * The base class that other non-interacting Toolbar Item classes should extend in order to
  20. * get some basic common toolbar item functionality.
  21. */
  22. Ext.define('Ext.toolbar.Item', {
  23. extend: 'Ext.Component',
  24. alias: 'widget.tbitem',
  25. alternateClassName: 'Ext.Toolbar.Item',
  26. enable:Ext.emptyFn,
  27. disable:Ext.emptyFn,
  28. focus:Ext.emptyFn
  29. <span id='Ext-toolbar-Item-cfg-overflowText'> /**
  30. </span> * @cfg {String} overflowText
  31. * Text to be used for the menu if the item is overflowed.
  32. */
  33. });</pre>
  34. </body>
  35. </html>