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",
50 "desc" : "dark themed version",
58 "desc" : "text for badge",
66 "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",
67 "memberOf" : "Roo.Component",
77 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
78 "memberOf" : "Roo.bootstrap.Component",
85 "desc" : "default false;",
93 "desc" : "Specifies name attribute",
94 "memberOf" : "Roo.bootstrap.Component",
103 "isOptional" : false,
120 "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
122 "isOptional" : false,
128 "desc" : "Text for the tooltip",
129 "memberOf" : "Roo.bootstrap.Component",
130 "isOptional" : false,
136 "desc" : "text for on slidy toggle state",
138 "isOptional" : false,
142 "name" : "preventDefault",
144 "desc" : "default true (stop click event triggering the URL if it's a link.)",
146 "isOptional" : false,
154 "isOptional" : false,
163 "desc" : "r) target for a hre",
165 "isOptional" : false,
175 "name" : "glyphicon",
177 "desc" : "depricated - use fa",
179 "isOptional" : false,
183 "name" : "allowDomMove",
185 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
186 "memberOf" : "Roo.Component",
187 "isOptional" : false,
193 "desc" : "any extra css",
194 "memberOf" : "Roo.bootstrap.Component",
195 "isOptional" : false,
201 "desc" : "default false;",
203 "isOptional" : false,
207 "name" : "actionMode",
209 "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",
210 "memberOf" : "Roo.Component",
211 "isOptional" : false,
215 "name" : "listeners",
217 "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>",
218 "memberOf" : "Roo.util.Observable",
219 "isOptional" : false,
223 "name" : "container_method",
225 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
226 "memberOf" : "Roo.bootstrap.Component",
227 "isOptional" : false,
233 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
235 "isOptional" : false,
243 "isOptional" : false,
253 "desc" : "css class",
254 "memberOf" : "Roo.bootstrap.Component",
255 "isOptional" : false,
259 "name" : "badge_weight",
261 "desc" : "k) default (same as butto",
263 "isOptional" : false,
278 "name" : "can_build_overlaid",
280 "desc" : "True if element can be rebuild from a HTML page",
281 "memberOf" : "Roo.bootstrap.Component",
282 "isOptional" : false,
286 "name" : "disableClass",
288 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
289 "memberOf" : "Roo.Component",
290 "isOptional" : false,
294 "name" : "visibilityEl",
295 "type" : "string|object",
296 "desc" : "t) What element to use for visibility (@see getVisibilityEl(",
297 "memberOf" : "Roo.bootstrap.Component",
298 "isOptional" : false,
307 "desc" : "empty or href",
309 "isOptional" : false,
317 "isOptional" : false,
327 "desc" : "cutomer id",
328 "memberOf" : "Roo.bootstrap.Component",
329 "isOptional" : false,
335 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
337 "isOptional" : false,
343 "desc" : "text for off slidy toggle state",
345 "isOptional" : false,
349 "name" : "removeClass",
351 "desc" : "remove the standard class..",
353 "isOptional" : false,
359 "desc" : "The button content",
361 "isOptional" : false,
367 "desc" : "default null - if the button ahs active state",
369 "isOptional" : false,
374 "type" : "Roo.bootstrap.menu.Menu",
377 "isOptional" : false,
385 "desc" : "set the text of the first selected button",
386 "sig" : "()\n{\n\n}",
390 "isConstructor" : false,
404 "desc" : "get the current active state",
405 "sig" : "()\n{\n\n}",
409 "isConstructor" : false,
422 "desc" : "true if it's active"
427 "name" : "setActive",
429 "desc" : "sets the active state on/off,",
434 "isConstructor" : false,
446 "desc" : "(optional) Force a particular state",
453 "name" : "toggleActive",
455 "desc" : "toggles the current active state",
456 "sig" : "()\n{\n\n}",
460 "isConstructor" : false,
474 "desc" : "get the text of the first selected button",
475 "sig" : "()\n{\n\n}",
479 "isConstructor" : false,
493 "desc" : "Enables this button",
494 "sig" : "()\n{\n\n}",
498 "isConstructor" : false,
512 "desc" : "Disable this button",
513 "sig" : "()\n{\n\n}",
517 "isConstructor" : false,
529 "name" : "tooltipEl",
531 "desc" : "Fetch the element to display the tooltip on.",
532 "sig" : "()\n{\n\n}",
534 "memberOf" : "Roo.bootstrap.Component",
536 "isConstructor" : false,
548 "type" : "Roo.Element",
549 "desc" : "defaults to this.el"
556 "desc" : "Hide a component - adds 'hidden' class",
557 "sig" : "()\n{\n\n}",
559 "memberOf" : "Roo.bootstrap.Component",
561 "isConstructor" : false,
575 "desc" : "Show a component - removes 'hidden' class",
576 "sig" : "()\n{\n\n}",
578 "memberOf" : "Roo.bootstrap.Component",
580 "isConstructor" : false,
592 "name" : "setVisibilityEl",
594 "desc" : "Set the element that will be used to show or hide",
595 "sig" : "()\n{\n\n}",
597 "memberOf" : "Roo.bootstrap.Component",
599 "isConstructor" : false,
611 "name" : "getVisibilityEl",
613 "desc" : "Get the element that will be used to show or hide",
614 "sig" : "()\n{\n\n}",
616 "memberOf" : "Roo.bootstrap.Component",
618 "isConstructor" : false,
630 "name" : "initEvents",
632 "desc" : "Initialize Events for the element",
633 "sig" : "()\n{\n\n}",
635 "memberOf" : "Roo.bootstrap.Component",
637 "isConstructor" : false,
649 "name" : "getChildContainer",
651 "desc" : "Fetch the element to add children to",
652 "sig" : "()\n{\n\n}",
654 "memberOf" : "Roo.bootstrap.Component",
656 "isConstructor" : false,
668 "type" : "Roo.Element",
669 "desc" : "defaults to this.el"
676 "desc" : "Returns the id of this component.",
677 "sig" : "()\n{\n\n}",
679 "memberOf" : "Roo.Component",
681 "isConstructor" : false,
701 "desc" : "If this is a lazy rendering component, render it to its container element.",
702 "sig" : "(container)",
704 "memberOf" : "Roo.Component",
706 "isConstructor" : false,
716 "name" : "container",
717 "type" : "String/HTMLElement/Element",
718 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
727 "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}.",
728 "sig" : "()\n{\n\n}",
730 "memberOf" : "Roo.Component",
732 "isConstructor" : false,
744 "name" : "isVisible",
746 "desc" : "Returns true if this component is visible.",
747 "sig" : "()\n{\n\n}",
749 "memberOf" : "Roo.Component",
751 "isConstructor" : false,
763 "name" : "setDisabled",
765 "desc" : "Convenience function for setting disabled/enabled by boolean.",
766 "sig" : "(disabled)",
768 "memberOf" : "Roo.Component",
770 "isConstructor" : false,
791 "desc" : "Try to focus this component.",
792 "sig" : "(selectText)",
794 "memberOf" : "Roo.Component",
796 "isConstructor" : false,
806 "name" : "selectText",
808 "desc" : "True to also select the text in this component (if applicable)",
815 "type" : "Roo.Component",
821 "name" : "setVisible",
823 "desc" : "Convenience function to hide or show this component by boolean.",
826 "memberOf" : "Roo.Component",
828 "isConstructor" : false,
840 "desc" : "True to show, false to hide",
847 "type" : "Roo.Component",
855 "desc" : "Returns the underlying {@link Roo.Element}.",
856 "sig" : "()\n{\n\n}",
858 "memberOf" : "Roo.Component",
860 "isConstructor" : false,
872 "type" : "Roo.Element",
873 "desc" : "The element"
878 "name" : "purgeListeners",
880 "desc" : "Removes all listeners for this object",
881 "sig" : "()\n{\n\n}",
883 "memberOf" : "Roo.util.Observable",
885 "isConstructor" : false,
899 "desc" : "Appends an event handler to this element (shorthand for addListener)",
900 "sig" : "(eventName, handler, scope, options)",
902 "memberOf" : "Roo.util.Observable",
904 "isConstructor" : false,
914 "name" : "eventName",
916 "desc" : "The type of event to listen for",
922 "desc" : "The method the event invokes",
928 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
934 "desc" : "(optional)",
943 "desc" : "Removes a listener (shorthand for removeListener)",
944 "sig" : "(eventName, handler, scope)",
946 "memberOf" : "Roo.util.Observable",
948 "isConstructor" : false,
958 "name" : "eventName",
960 "desc" : "The type of event to listen for",
966 "desc" : "The handler to remove",
972 "desc" : "(optional) The scope (this object) for the handler",
979 "name" : "addEvents",
981 "desc" : "Used to define events on this Observable",
984 "memberOf" : "Roo.util.Observable",
986 "isConstructor" : false,
998 "desc" : "The object with the events defined",
1005 "name" : "releaseCapture",
1006 "type" : "function",
1007 "desc" : "Removes <b>all</b> added captures from the Observable.",
1010 "memberOf" : "Roo.util.Observable",
1012 "isConstructor" : false,
1013 "isPrivate" : false,
1023 "type" : "Observable",
1024 "desc" : "The Observable to release",
1025 "isOptional" : false
1031 "name" : "removeListener",
1032 "type" : "function",
1033 "desc" : "Removes a listener",
1034 "sig" : "(eventName, handler, scope)",
1036 "memberOf" : "Roo.util.Observable",
1038 "isConstructor" : false,
1039 "isPrivate" : false,
1048 "name" : "eventName",
1050 "desc" : "The type of event to listen for",
1051 "isOptional" : false
1055 "type" : "Function",
1056 "desc" : "The handler to remove",
1057 "isOptional" : false
1062 "desc" : "(optional) The scope (this object) for the handler",
1063 "isOptional" : false
1069 "name" : "fireEvent",
1070 "type" : "function",
1071 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
1072 "sig" : "(eventName, args)",
1074 "memberOf" : "Roo.util.Observable",
1076 "isConstructor" : false,
1077 "isPrivate" : false,
1086 "name" : "eventName",
1089 "isOptional" : false
1093 "type" : "Object...",
1094 "desc" : "Variable number of parameters are passed to handlers",
1095 "isOptional" : false
1102 "desc" : "returns false if any of the handlers return false otherwise it returns true"
1107 "name" : "hasListener",
1108 "type" : "function",
1109 "desc" : "Checks to see if this object has any listeners for a specified event",
1110 "sig" : "(eventName)",
1112 "memberOf" : "Roo.util.Observable",
1114 "isConstructor" : false,
1115 "isPrivate" : false,
1124 "name" : "eventName",
1126 "desc" : "The name of the event to check for",
1127 "isOptional" : false
1134 "desc" : "True if the event is being listened for, else false"
1140 "type" : "function",
1141 "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.",
1142 "sig" : "(o, fn, scope)",
1144 "memberOf" : "Roo.util.Observable",
1146 "isConstructor" : false,
1147 "isPrivate" : false,
1157 "type" : "Observable",
1158 "desc" : "The Observable to capture",
1159 "isOptional" : false
1163 "type" : "Function",
1164 "desc" : "The function to call",
1165 "isOptional" : false
1170 "desc" : "(optional) The scope (this object) for the fn",
1171 "isOptional" : false
1177 "name" : "addListener",
1178 "type" : "function",
1179 "desc" : "Appends an event handler to this component",
1180 "sig" : "(eventName, handler, scope, options)",
1182 "memberOf" : "Roo.util.Observable",
1184 "isConstructor" : false,
1185 "isPrivate" : false,
1194 "name" : "eventName",
1196 "desc" : "The type of event to listen for",
1197 "isOptional" : false
1201 "type" : "Function",
1202 "desc" : "The method the event invokes",
1203 "isOptional" : false
1208 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1209 "isOptional" : false
1214 "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>",
1215 "isOptional" : false
1224 "type" : "function",
1225 "desc" : "After the button has been toggles",
1226 "sig" : "function (btn, e, pressed)\n{\n\n}",
1235 "type" : "Roo.bootstrap.Button",
1237 "isOptional" : false
1241 "type" : "Roo.EventObject",
1243 "isOptional" : false
1248 "desc" : "(also available as button.pressed)",
1249 "isOptional" : false
1255 "name" : "dblclick",
1256 "type" : "function",
1257 "desc" : "When a button is double clicked",
1258 "sig" : "function (btn, e)\n{\n\n}",
1267 "type" : "Roo.bootstrap.Button",
1269 "isOptional" : false
1273 "type" : "Roo.EventObject",
1275 "isOptional" : false
1282 "type" : "function",
1283 "desc" : "When a button is pressed",
1284 "sig" : "function (btn, e)\n{\n\n}",
1293 "type" : "Roo.bootstrap.Button",
1295 "isOptional" : false
1299 "type" : "Roo.EventObject",
1301 "isOptional" : false
1307 "name" : "childrenrendered",
1308 "type" : "function",
1309 "desc" : "Fires when the children have been rendered..",
1310 "sig" : "function (_self)\n{\n\n}",
1311 "memberOf" : "Roo.bootstrap.Component",
1319 "type" : "Roo.bootstrap.Component",
1321 "isOptional" : false
1327 "name" : "beforerender",
1328 "type" : "function",
1329 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1330 "sig" : "function (_self)\n{\n\n}",
1331 "memberOf" : "Roo.Component",
1339 "type" : "Roo.Component",
1341 "isOptional" : false
1348 "type" : "function",
1349 "desc" : "Fires after the component is disabled.",
1350 "sig" : "function (_self)\n{\n\n}",
1351 "memberOf" : "Roo.Component",
1359 "type" : "Roo.Component",
1361 "isOptional" : false
1368 "type" : "function",
1369 "desc" : "Fires after the component is rendered.",
1370 "sig" : "function (_self)\n{\n\n}",
1371 "memberOf" : "Roo.Component",
1379 "type" : "Roo.Component",
1381 "isOptional" : false
1388 "type" : "function",
1389 "desc" : "Fires after the component is destroyed.",
1390 "sig" : "function (_self)\n{\n\n}",
1391 "memberOf" : "Roo.Component",
1399 "type" : "Roo.Component",
1401 "isOptional" : false
1408 "type" : "function",
1409 "desc" : "Fires after the component is hidden.",
1410 "sig" : "function (_self)\n{\n\n}",
1411 "memberOf" : "Roo.Component",
1419 "type" : "Roo.Component",
1421 "isOptional" : false
1427 "name" : "beforehide",
1428 "type" : "function",
1429 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1430 "sig" : "function (_self)\n{\n\n}",
1431 "memberOf" : "Roo.Component",
1439 "type" : "Roo.Component",
1441 "isOptional" : false
1448 "type" : "function",
1449 "desc" : "Fires after the component is shown.",
1450 "sig" : "function (_self)\n{\n\n}",
1451 "memberOf" : "Roo.Component",
1459 "type" : "Roo.Component",
1461 "isOptional" : false
1467 "name" : "beforeshow",
1468 "type" : "function",
1469 "desc" : "Fires before the component is shown. Return false to stop the show.",
1470 "sig" : "function (_self)\n{\n\n}",
1471 "memberOf" : "Roo.Component",
1479 "type" : "Roo.Component",
1481 "isOptional" : false
1488 "type" : "function",
1489 "desc" : "Fires after the component is enabled.",
1490 "sig" : "function (_self)\n{\n\n}",
1491 "memberOf" : "Roo.Component",
1499 "type" : "Roo.Component",
1501 "isOptional" : false
1507 "name" : "beforedestroy",
1508 "type" : "function",
1509 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1510 "sig" : "function (_self)\n{\n\n}",
1511 "memberOf" : "Roo.Component",
1519 "type" : "Roo.Component",
1521 "isOptional" : false