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.

20 lines
297 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. This file is part of Ext JS 3.4
  3. Copyright (c) 2011-2013 Sencha Inc
  4. Contact: http://www.sencha.com/contact
  5. GNU General Public License Usage
  6. This file may be used under the terms of the GNU General Public License version 3.0 as
  7. published by the Free Software Foundation and appearing in the file LICENSE included in the
  8. packaging of this file.
  9. Please review the following information to ensure the GNU General Public License version 3.0
  10. requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  11. If you are unsure which license is appropriate for your use, please contact the sales department
  12. at http://www.sencha.com/contact.
  13. Build date: 2013-04-03 15:07:25
  14. */
  15. Ext.data.JsonP.Ext_SplitButton({"alternateClassNames":[],"aliases":{"widget":["splitbutton"]},"enum":null,"parentMixins":[],"tagname":"class","subclasses":["Ext.CycleButton"],"extends":"Ext.Button","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Ext.util.Observable' rel='Ext.util.Observable' class='docClass'>Ext.util.Observable</a><div class='subclass '><a href='#!/api/Ext.Component' rel='Ext.Component' class='docClass'>Ext.Component</a><div class='subclass '><a href='#!/api/Ext.BoxComponent' rel='Ext.BoxComponent' class='docClass'>Ext.BoxComponent</a><div class='subclass '><a href='#!/api/Ext.Button' rel='Ext.Button' class='docClass'>Ext.Button</a><div class='subclass '><strong>Ext.SplitButton</strong></div></div></div></div></div><h4>Subclasses</h4><div class='dependency'><a href='#!/api/Ext.CycleButton' rel='Ext.CycleButton' class='docClass'>Ext.CycleButton</a></div><h4>Files</h4><div class='dependency'><a href='source/SplitButton.html#Ext-SplitButton' target='_blank'>SplitButton.js</a></div></pre><div class='doc-contents'><p>A split button that provides a built-in dropdown arrow that can fire an event separately from the default\nclick event of the button. Typically this would be used to display a dropdown menu that provides additional\noptions to the primary button action, but any custom handler can provide the arrowclick implementation. Example usage:</p>\n\n<pre><code>// display a dropdown menu:\nnew <a href=\"#!/api/Ext.SplitButton\" rel=\"Ext.SplitButton\" class=\"docClass\">Ext.SplitButton</a>({\n renderTo: 'button-ct', // the container id\n text: 'Options',\n handler: optionsHandler, // handle a click on the button itself\n menu: new <a href=\"#!/api/Ext.menu.Menu\" rel=\"Ext.menu.Menu\" class=\"docClass\">Ext.menu.Menu</a>({\n items: [\n // these items will render as dropdown menu items when the arrow is clicked:\n {text: 'Item 1', handler: item1Handler},\n {text: 'Item 2', handler: item2Handler}\n ]\n })\n});\n\n// Instead of showing a menu, you provide any type of custom\n// functionality you want when the dropdown arrow is clicked:\nnew <a href=\"#!/api/Ext.SplitButton\" rel=\"Ext.SplitButton\" class=\"docClass\">Ext.SplitButton</a>({\n renderTo: 'button-ct',\n text: 'Options',\n handler: optionsHandler,\n arrowHandler: myCustomHandler\n});\n</code></pre>\n\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-allowDepress' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Ext.Button' rel='Ext.Button' class='defined-in docClass'>Ext.Button</a><br/><a href='source/Button.html#Ext-Button-cfg-allowDepress' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.Button-cfg-allowDepress' class='name expandable'>allowDepress</a><span> : Boolean</span></div><div class='description'><div class='short'>False to not allow a pressed Button to be depressed (defaults to undefined). ...</div><div class='long'><p>False to not allow a pressed Button to be depressed (defaults to undefined). Only valid when <a href=\"#!/api/Ext.Button-cfg-enableToggle\" rel=\"Ext.Button-cfg-enableToggle\" class=\"docClass\">enableToggle</a> is true.</p>\n</div></div></div><div id='cfg-allowDomMove' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Ext.Component' rel='Ext.Component' class='defined-in docClass'>Ext.Component</a><br/><a href='source/Component.html#Ext-Component-cfg-allowDomMove' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.Component-cfg-allowDomMove' class='name expandable'>allowDomMove</a><span> : Boolean</span></div><div class='description'><div class='short'>Whether the component can move the Dom node when rendering