2 "name" : "Roo.bootstrap.Button",
4 "Roo.bootstrap.Component",
9 "Roo.bootstrap.Button" : [
10 "Roo.bootstrap.ButtonUploader",
11 "Roo.bootstrap.form.CardUploader"
16 "desc" : "Bootstrap Button class",
17 "isSingleton" : false,
21 "isBuilderTop" : false,
22 "memberOf" : "Button",
31 "desc" : "The config object",
42 "desc" : "is it a slidy toggle button",
48 "desc" : "dark themed version",
54 "desc" : "text for badge",
60 "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
61 "memberOf" : "Roo.Component"
66 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
67 "memberOf" : "Roo.bootstrap.Component"
72 "desc" : "default false;",
78 "desc" : "Specifies name attribute",
79 "memberOf" : "Roo.bootstrap.Component"
84 "desc" : "k) default",
90 "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
96 "desc" : "Text for the tooltip",
97 "memberOf" : "Roo.bootstrap.Component"
102 "desc" : "text for on slidy toggle state",
106 "name" : "preventDefault",
108 "desc" : "default true (stop click event triggering the URL if it's a link.)",
120 "desc" : "r) target for a href.",
124 "name" : "glyphicon",
126 "desc" : "depricated - use fa",
130 "name" : "allowDomMove",
132 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
133 "memberOf" : "Roo.Component"
138 "desc" : "any extra css",
139 "memberOf" : "Roo.bootstrap.Component"
144 "desc" : "default false;",
148 "name" : "actionMode",
150 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el' for forms you probably want to set this to fieldEl",
151 "memberOf" : "Roo.Component"
154 "name" : "listeners",
156 "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
157 "memberOf" : "Roo.util.Observable"
160 "name" : "container_method",
162 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
163 "memberOf" : "Roo.bootstrap.Component"
168 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
180 "desc" : "css class",
181 "memberOf" : "Roo.bootstrap.Component"
184 "name" : "badge_weight",
186 "desc" : "k) default (same as button)",
190 "name" : "can_build_overlaid",
192 "desc" : "True if element can be rebuild from a HTML page",
193 "memberOf" : "Roo.bootstrap.Component"
196 "name" : "disableClass",
198 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
199 "memberOf" : "Roo.Component"
202 "name" : "visibilityEl",
203 "type" : "string|object",
204 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
205 "memberOf" : "Roo.bootstrap.Component"
210 "desc" : "empty or href",
222 "desc" : "cutomer id",
223 "memberOf" : "Roo.bootstrap.Component"
228 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
234 "desc" : "text for off slidy toggle state",
238 "name" : "removeClass",
240 "desc" : "remove the standard class..",
246 "desc" : "The button content",
252 "desc" : "default null - if the button ahs active state",
257 "type" : "Roo.bootstrap.menu.Menu",
266 "desc" : "set the text of the first selected button",
267 "sig" : "()\n{\n\n}",
271 "isConstructor" : false,
285 "desc" : "get the current active state",
286 "sig" : "()\n{\n\n}",
290 "isConstructor" : false,
303 "desc" : "true if it's active"
308 "name" : "setActive",
310 "desc" : "sets the active state on/off,",
315 "isConstructor" : false,
327 "desc" : "(optional) Force a particular state",
334 "name" : "toggleActive",
336 "desc" : "toggles the current active state",
337 "sig" : "()\n{\n\n}",
341 "isConstructor" : false,
355 "desc" : "get the text of the first selected button",
356 "sig" : "()\n{\n\n}",
360 "isConstructor" : false,
374 "desc" : "Enables this button",
375 "sig" : "()\n{\n\n}",
379 "isConstructor" : false,
393 "desc" : "Disable this button",
394 "sig" : "()\n{\n\n}",
398 "isConstructor" : false,
410 "name" : "tooltipEl",
412 "desc" : "Fetch the element to display the tooltip on.",
413 "sig" : "()\n{\n\n}",
415 "memberOf" : "Roo.bootstrap.Component",
417 "isConstructor" : false,
429 "type" : "Roo.Element",
430 "desc" : "defaults to this.el"
437 "desc" : "Hide a component - adds 'hidden' class",
438 "sig" : "()\n{\n\n}",
440 "memberOf" : "Roo.bootstrap.Component",
442 "isConstructor" : false,
456 "desc" : "Show a component - removes 'hidden' class",
457 "sig" : "()\n{\n\n}",
459 "memberOf" : "Roo.bootstrap.Component",
461 "isConstructor" : false,
473 "name" : "setVisibilityEl",
475 "desc" : "Set the element that will be used to show or hide",
476 "sig" : "()\n{\n\n}",
478 "memberOf" : "Roo.bootstrap.Component",
480 "isConstructor" : false,
492 "name" : "getVisibilityEl",
494 "desc" : "Get the element that will be used to show or hide",
495 "sig" : "()\n{\n\n}",
497 "memberOf" : "Roo.bootstrap.Component",
499 "isConstructor" : false,
511 "name" : "initEvents",
513 "desc" : "Initialize Events for the element",
514 "sig" : "()\n{\n\n}",
516 "memberOf" : "Roo.bootstrap.Component",
518 "isConstructor" : false,
530 "name" : "getChildContainer",
532 "desc" : "Fetch the element to add children to",
533 "sig" : "()\n{\n\n}",
535 "memberOf" : "Roo.bootstrap.Component",
537 "isConstructor" : false,
549 "type" : "Roo.Element",
550 "desc" : "defaults to this.el"
557 "desc" : "Returns the id of this component.",
558 "sig" : "()\n{\n\n}",
560 "memberOf" : "Roo.Component",
562 "isConstructor" : false,
582 "desc" : "If this is a lazy rendering component, render it to its container element.",
583 "sig" : "(container)",
585 "memberOf" : "Roo.Component",
587 "isConstructor" : false,
597 "name" : "container",
598 "type" : "String/HTMLElement/Element",
599 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
608 "desc" : "Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the component from its {@link Roo.Container} (if applicable) and unregistering it from {@link Roo.ComponentMgr}.",
609 "sig" : "()\n{\n\n}",
611 "memberOf" : "Roo.Component",
613 "isConstructor" : false,
625 "name" : "isVisible",
627 "desc" : "Returns true if this component is visible.",
628 "sig" : "()\n{\n\n}",
630 "memberOf" : "Roo.Component",
632 "isConstructor" : false,
644 "name" : "setDisabled",
646 "desc" : "Convenience function for setting disabled/enabled by boolean.",
647 "sig" : "(disabled)",
649 "memberOf" : "Roo.Component",
651 "isConstructor" : false,
672 "desc" : "Try to focus this component.",
673 "sig" : "(selectText)",
675 "memberOf" : "Roo.Component",
677 "isConstructor" : false,
687 "name" : "selectText",
689 "desc" : "True to also select the text in this component (if applicable)",
696 "type" : "Roo.Component",
702 "name" : "setVisible",
704 "desc" : "Convenience function to hide or show this component by boolean.",
707 "memberOf" : "Roo.Component",
709 "isConstructor" : false,
721 "desc" : "True to show, false to hide",
728 "type" : "Roo.Component",
736 "desc" : "Returns the underlying {@link Roo.Element}.",
737 "sig" : "()\n{\n\n}",
739 "memberOf" : "Roo.Component",
741 "isConstructor" : false,
753 "type" : "Roo.Element",
754 "desc" : "The element"
759 "name" : "purgeListeners",
761 "desc" : "Removes all listeners for this object",
762 "sig" : "()\n{\n\n}",
764 "memberOf" : "Roo.util.Observable",
766 "isConstructor" : false,
780 "desc" : "Appends an event handler to this element (shorthand for addListener)",
781 "sig" : "(eventName, handler, scope, options)",
783 "memberOf" : "Roo.util.Observable",
785 "isConstructor" : false,
795 "name" : "eventName",
797 "desc" : "The type of event to listen for",
803 "desc" : "The method the event invokes",
809 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
815 "desc" : "(optional)",
824 "desc" : "Removes a listener (shorthand for removeListener)",
825 "sig" : "(eventName, handler, scope)",
827 "memberOf" : "Roo.util.Observable",
829 "isConstructor" : false,
839 "name" : "eventName",
841 "desc" : "The type of event to listen for",
847 "desc" : "The handler to remove",
853 "desc" : "(optional) The scope (this object) for the handler",
860 "name" : "addEvents",
862 "desc" : "Used to define events on this Observable",
865 "memberOf" : "Roo.util.Observable",
867 "isConstructor" : false,
879 "desc" : "The object with the events defined",
886 "name" : "releaseCapture",
888 "desc" : "Removes <b>all</b> added captures from the Observable.",
891 "memberOf" : "Roo.util.Observable",
893 "isConstructor" : false,
904 "type" : "Observable",
905 "desc" : "The Observable to release",
912 "name" : "removeListener",
914 "desc" : "Removes a listener",
915 "sig" : "(eventName, handler, scope)",
917 "memberOf" : "Roo.util.Observable",
919 "isConstructor" : false,
929 "name" : "eventName",
931 "desc" : "The type of event to listen for",
937 "desc" : "The handler to remove",
943 "desc" : "(optional) The scope (this object) for the handler",
950 "name" : "fireEvent",
952 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
953 "sig" : "(eventName, args)",
955 "memberOf" : "Roo.util.Observable",
957 "isConstructor" : false,
967 "name" : "eventName",
974 "type" : "Object...",
975 "desc" : "Variable number of parameters are passed to handlers",
983 "desc" : "returns false if any of the handlers return false otherwise it returns true"
988 "name" : "hasListener",
990 "desc" : "Checks to see if this object has any listeners for a specified event",
991 "sig" : "(eventName)",
993 "memberOf" : "Roo.util.Observable",
995 "isConstructor" : false,
1005 "name" : "eventName",
1007 "desc" : "The name of the event to check for",
1008 "isOptional" : false
1015 "desc" : "True if the event is being listened for, else false"
1021 "type" : "function",
1022 "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
1023 "sig" : "(o, fn, scope)",
1025 "memberOf" : "Roo.util.Observable",
1027 "isConstructor" : false,
1028 "isPrivate" : false,
1038 "type" : "Observable",
1039 "desc" : "The Observable to capture",
1040 "isOptional" : false
1044 "type" : "Function",
1045 "desc" : "The function to call",
1046 "isOptional" : false
1051 "desc" : "(optional) The scope (this object) for the fn",
1052 "isOptional" : false
1058 "name" : "addListener",
1059 "type" : "function",
1060 "desc" : "Appends an event handler to this component",
1061 "sig" : "(eventName, handler, scope, options)",
1063 "memberOf" : "Roo.util.Observable",
1065 "isConstructor" : false,
1066 "isPrivate" : false,
1075 "name" : "eventName",
1077 "desc" : "The type of event to listen for",
1078 "isOptional" : false
1082 "type" : "Function",
1083 "desc" : "The method the event invokes",
1084 "isOptional" : false
1089 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1090 "isOptional" : false
1095 "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n \t\tdelay: 100,\n \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n \t\tfn: this.onClick,\n \t\tscope: this,\n \t\tdelay: 100\n \t\t}, \n \t\t'mouseover': {\n \t\tfn: this.onMouseOver,\n \t\tscope: this\n \t\t},\n \t\t'mouseout': {\n \t\tfn: this.onMouseOut,\n \t\tscope: this\n \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n \t\t'mouseover': this.onMouseOver,\n \t\t'mouseout': this.onMouseOut,\n \t\tscope: this\n\t\t});\n\t\t</code></pre>",
1096 "isOptional" : false
1105 "type" : "function",
1106 "desc" : "After the button has been toggles",
1107 "sig" : "function (btn, e, pressed)\n{\n\n}",
1116 "type" : "Roo.bootstrap.Button",
1118 "isOptional" : false
1122 "type" : "Roo.EventObject",
1124 "isOptional" : false
1129 "desc" : "(also available as button.pressed)",
1130 "isOptional" : false
1136 "name" : "dblclick",
1137 "type" : "function",
1138 "desc" : "When a button is double clicked",
1139 "sig" : "function (btn, e)\n{\n\n}",
1148 "type" : "Roo.bootstrap.Button",
1150 "isOptional" : false
1154 "type" : "Roo.EventObject",
1156 "isOptional" : false
1163 "type" : "function",
1164 "desc" : "When a button is pressed",
1165 "sig" : "function (btn, e)\n{\n\n}",
1174 "type" : "Roo.bootstrap.Button",
1176 "isOptional" : false
1180 "type" : "Roo.EventObject",
1182 "isOptional" : false
1188 "name" : "childrenrendered",
1189 "type" : "function",
1190 "desc" : "Fires when the children have been rendered..",
1191 "sig" : "function (_self)\n{\n\n}",
1192 "memberOf" : "Roo.bootstrap.Component",
1200 "type" : "Roo.bootstrap.Component",
1202 "isOptional" : false
1208 "name" : "beforerender",
1209 "type" : "function",
1210 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1211 "sig" : "function (_self)\n{\n\n}",
1212 "memberOf" : "Roo.Component",
1220 "type" : "Roo.Component",
1222 "isOptional" : false
1229 "type" : "function",
1230 "desc" : "Fires after the component is disabled.",
1231 "sig" : "function (_self)\n{\n\n}",
1232 "memberOf" : "Roo.Component",
1240 "type" : "Roo.Component",
1242 "isOptional" : false
1249 "type" : "function",
1250 "desc" : "Fires after the component is rendered.",
1251 "sig" : "function (_self)\n{\n\n}",
1252 "memberOf" : "Roo.Component",
1260 "type" : "Roo.Component",
1262 "isOptional" : false
1269 "type" : "function",
1270 "desc" : "Fires after the component is destroyed.",
1271 "sig" : "function (_self)\n{\n\n}",
1272 "memberOf" : "Roo.Component",
1280 "type" : "Roo.Component",
1282 "isOptional" : false
1289 "type" : "function",
1290 "desc" : "Fires after the component is hidden.",
1291 "sig" : "function (_self)\n{\n\n}",
1292 "memberOf" : "Roo.Component",
1300 "type" : "Roo.Component",
1302 "isOptional" : false
1308 "name" : "beforehide",
1309 "type" : "function",
1310 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1311 "sig" : "function (_self)\n{\n\n}",
1312 "memberOf" : "Roo.Component",
1320 "type" : "Roo.Component",
1322 "isOptional" : false
1329 "type" : "function",
1330 "desc" : "Fires after the component is shown.",
1331 "sig" : "function (_self)\n{\n\n}",
1332 "memberOf" : "Roo.Component",
1340 "type" : "Roo.Component",
1342 "isOptional" : false
1348 "name" : "beforeshow",
1349 "type" : "function",
1350 "desc" : "Fires before the component is shown. Return false to stop the show.",
1351 "sig" : "function (_self)\n{\n\n}",
1352 "memberOf" : "Roo.Component",
1360 "type" : "Roo.Component",
1362 "isOptional" : false
1369 "type" : "function",
1370 "desc" : "Fires after the component is enabled.",
1371 "sig" : "function (_self)\n{\n\n}",
1372 "memberOf" : "Roo.Component",
1380 "type" : "Roo.Component",
1382 "isOptional" : false
1388 "name" : "beforedestroy",
1389 "type" : "function",
1390 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1391 "sig" : "function (_self)\n{\n\n}",
1392 "memberOf" : "Roo.Component",
1400 "type" : "Roo.Component",
1402 "isOptional" : false