2 "name" : "Roo.bootstrap.Button",
4 "Roo.bootstrap.Component",
9 "Roo.bootstrap.CardUploader",
10 "Roo.bootstrap.ButtonUploader"
12 "desc" : "Bootstrap Button class",
13 "isSingleton" : false,
16 "memberOf" : "Button",
25 "desc" : "The config object",
36 "desc" : "is it a slidy toggle button",
42 "desc" : "dark themed version",
48 "desc" : "text for badge",
54 "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\".",
55 "memberOf" : "Roo.Component"
60 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
61 "memberOf" : "Roo.bootstrap.Component"
66 "desc" : "default false;",
72 "desc" : "Specifies name attribute",
73 "memberOf" : "Roo.bootstrap.Component"
78 "desc" : "k) default",
84 "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
90 "desc" : "Text for the tooltip",
91 "memberOf" : "Roo.bootstrap.Component"
96 "desc" : "text for on slidy toggle state",
100 "name" : "preventDefault",
102 "desc" : "default true (stop click event triggering the URL if it's a link.)",
114 "desc" : "r) target for a href.",
118 "name" : "glyphicon",
120 "desc" : "depricated - use fa",
124 "name" : "allowDomMove",
126 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
127 "memberOf" : "Roo.Component"
132 "desc" : "any extra css",
133 "memberOf" : "Roo.bootstrap.Component"
138 "desc" : "default false;",
142 "name" : "actionMode",
144 "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",
145 "memberOf" : "Roo.Component"
148 "name" : "listeners",
150 "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>",
151 "memberOf" : "Roo.util.Observable"
154 "name" : "container_method",
156 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
157 "memberOf" : "Roo.bootstrap.Component"
162 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
174 "desc" : "css class",
175 "memberOf" : "Roo.bootstrap.Component"
178 "name" : "badge_weight",
180 "desc" : "k) default (same as button)",
184 "name" : "can_build_overlaid",
186 "desc" : "True if element can be rebuild from a HTML page",
187 "memberOf" : "Roo.bootstrap.Component"
190 "name" : "disableClass",
192 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
193 "memberOf" : "Roo.Component"
196 "name" : "visibilityEl",
197 "type" : "string|object",
198 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
199 "memberOf" : "Roo.bootstrap.Component"
204 "desc" : "empty or href",
216 "desc" : "cutomer id",
217 "memberOf" : "Roo.bootstrap.Component"
222 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
228 "desc" : "text for off slidy toggle state",
232 "name" : "removeClass",
234 "desc" : "remove the standard class..",
240 "desc" : "The button content",
246 "desc" : "default null - if the button ahs active state",
251 "type" : "Roo.bootstrap.menu.Menu",
260 "desc" : "set the text of the first selected button",
261 "sig" : "()\n{\n\n}",
265 "isConstructor" : false,
279 "desc" : "get the current active state",
280 "sig" : "()\n{\n\n}",
284 "isConstructor" : false,
297 "desc" : "true if it's active"
302 "name" : "setActive",
304 "desc" : "sets the active state on/off,",
309 "isConstructor" : false,
321 "desc" : "(optional) Force a particular state",
328 "name" : "toggleActive",
330 "desc" : "toggles the current active state",
331 "sig" : "()\n{\n\n}",
335 "isConstructor" : false,
349 "desc" : "get the text of the first selected button",
350 "sig" : "()\n{\n\n}",
354 "isConstructor" : false,
368 "desc" : "Enables this button",
369 "sig" : "()\n{\n\n}",
373 "isConstructor" : false,
387 "desc" : "Disable this button",
388 "sig" : "()\n{\n\n}",
392 "isConstructor" : false,
404 "name" : "tooltipEl",
406 "desc" : "Fetch the element to display the tooltip on.",
407 "sig" : "()\n{\n\n}",
409 "memberOf" : "Roo.bootstrap.Component",
411 "isConstructor" : false,
423 "type" : "Roo.Element",
424 "desc" : "defaults to this.el"
431 "desc" : "Hide a component - adds 'hidden' class",
432 "sig" : "()\n{\n\n}",
434 "memberOf" : "Roo.bootstrap.Component",
436 "isConstructor" : false,
450 "desc" : "Show a component - removes 'hidden' class",
451 "sig" : "()\n{\n\n}",
453 "memberOf" : "Roo.bootstrap.Component",
455 "isConstructor" : false,
467 "name" : "setVisibilityEl",
469 "desc" : "Set the element that will be used to show or hide",
470 "sig" : "()\n{\n\n}",
472 "memberOf" : "Roo.bootstrap.Component",
474 "isConstructor" : false,
486 "name" : "getVisibilityEl",
488 "desc" : "Get the element that will be used to show or hide",
489 "sig" : "()\n{\n\n}",
491 "memberOf" : "Roo.bootstrap.Component",
493 "isConstructor" : false,
505 "name" : "initEvents",
507 "desc" : "Initialize Events for the element",
508 "sig" : "()\n{\n\n}",
510 "memberOf" : "Roo.bootstrap.Component",
512 "isConstructor" : false,
524 "name" : "getChildContainer",
526 "desc" : "Fetch the element to add children to",
527 "sig" : "()\n{\n\n}",
529 "memberOf" : "Roo.bootstrap.Component",
531 "isConstructor" : false,
543 "type" : "Roo.Element",
544 "desc" : "defaults to this.el"
551 "desc" : "Returns the id of this component.",
552 "sig" : "()\n{\n\n}",
554 "memberOf" : "Roo.Component",
556 "isConstructor" : false,
576 "desc" : "If this is a lazy rendering component, render it to its container element.",
577 "sig" : "(container)",
579 "memberOf" : "Roo.Component",
581 "isConstructor" : false,
591 "name" : "container",
592 "type" : "String/HTMLElement/Element",
593 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
602 "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}.",
603 "sig" : "()\n{\n\n}",
605 "memberOf" : "Roo.Component",
607 "isConstructor" : false,
619 "name" : "isVisible",
621 "desc" : "Returns true if this component is visible.",
622 "sig" : "()\n{\n\n}",
624 "memberOf" : "Roo.Component",
626 "isConstructor" : false,
638 "name" : "setDisabled",
640 "desc" : "Convenience function for setting disabled/enabled by boolean.",
641 "sig" : "(disabled)",
643 "memberOf" : "Roo.Component",
645 "isConstructor" : false,
666 "desc" : "Try to focus this component.",
667 "sig" : "(selectText)",
669 "memberOf" : "Roo.Component",
671 "isConstructor" : false,
681 "name" : "selectText",
683 "desc" : "True to also select the text in this component (if applicable)",
690 "type" : "Roo.Component",
696 "name" : "setVisible",
698 "desc" : "Convenience function to hide or show this component by boolean.",
701 "memberOf" : "Roo.Component",
703 "isConstructor" : false,
715 "desc" : "True to show, false to hide",
722 "type" : "Roo.Component",
730 "desc" : "Returns the underlying {@link Roo.Element}.",
731 "sig" : "()\n{\n\n}",
733 "memberOf" : "Roo.Component",
735 "isConstructor" : false,
747 "type" : "Roo.Element",
748 "desc" : "The element"
753 "name" : "purgeListeners",
755 "desc" : "Removes all listeners for this object",
756 "sig" : "()\n{\n\n}",
758 "memberOf" : "Roo.util.Observable",
760 "isConstructor" : false,
774 "desc" : "Appends an event handler to this element (shorthand for addListener)",
775 "sig" : "(eventName, handler, scope, options)",
777 "memberOf" : "Roo.util.Observable",
779 "isConstructor" : false,
789 "name" : "eventName",
791 "desc" : "The type of event to listen for",
797 "desc" : "The method the event invokes",
803 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
809 "desc" : "(optional)",
818 "desc" : "Removes a listener (shorthand for removeListener)",
819 "sig" : "(eventName, handler, scope)",
821 "memberOf" : "Roo.util.Observable",
823 "isConstructor" : false,
833 "name" : "eventName",
835 "desc" : "The type of event to listen for",
841 "desc" : "The handler to remove",
847 "desc" : "(optional) The scope (this object) for the handler",
854 "name" : "addEvents",
856 "desc" : "Used to define events on this Observable",
859 "memberOf" : "Roo.util.Observable",
861 "isConstructor" : false,
873 "desc" : "The object with the events defined",
880 "name" : "releaseCapture",
882 "desc" : "Removes <b>all</b> added captures from the Observable.",
885 "memberOf" : "Roo.util.Observable",
887 "isConstructor" : false,
898 "type" : "Observable",
899 "desc" : "The Observable to release",
906 "name" : "removeListener",
908 "desc" : "Removes a listener",
909 "sig" : "(eventName, handler, scope)",
911 "memberOf" : "Roo.util.Observable",
913 "isConstructor" : false,
923 "name" : "eventName",
925 "desc" : "The type of event to listen for",
931 "desc" : "The handler to remove",
937 "desc" : "(optional) The scope (this object) for the handler",
944 "name" : "fireEvent",
946 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
947 "sig" : "(eventName, args)",
949 "memberOf" : "Roo.util.Observable",
951 "isConstructor" : false,
961 "name" : "eventName",
968 "type" : "Object...",
969 "desc" : "Variable number of parameters are passed to handlers",
977 "desc" : "returns false if any of the handlers return false otherwise it returns true"
982 "name" : "hasListener",
984 "desc" : "Checks to see if this object has any listeners for a specified event",
985 "sig" : "(eventName)",
987 "memberOf" : "Roo.util.Observable",
989 "isConstructor" : false,
999 "name" : "eventName",
1001 "desc" : "The name of the event to check for",
1002 "isOptional" : false
1009 "desc" : "True if the event is being listened for, else false"
1015 "type" : "function",
1016 "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.",
1017 "sig" : "(o, fn, scope)",
1019 "memberOf" : "Roo.util.Observable",
1021 "isConstructor" : false,
1022 "isPrivate" : false,
1032 "type" : "Observable",
1033 "desc" : "The Observable to capture",
1034 "isOptional" : false
1038 "type" : "Function",
1039 "desc" : "The function to call",
1040 "isOptional" : false
1045 "desc" : "(optional) The scope (this object) for the fn",
1046 "isOptional" : false
1052 "name" : "addListener",
1053 "type" : "function",
1054 "desc" : "Appends an event handler to this component",
1055 "sig" : "(eventName, handler, scope, options)",
1057 "memberOf" : "Roo.util.Observable",
1059 "isConstructor" : false,
1060 "isPrivate" : false,
1069 "name" : "eventName",
1071 "desc" : "The type of event to listen for",
1072 "isOptional" : false
1076 "type" : "Function",
1077 "desc" : "The method the event invokes",
1078 "isOptional" : false
1083 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1084 "isOptional" : false
1089 "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>",
1090 "isOptional" : false
1099 "type" : "function",
1100 "desc" : "After the button has been toggles",
1101 "sig" : "function (btn, e, pressed)\n{\n\n}",
1110 "type" : "Roo.bootstrap.Button",
1112 "isOptional" : false
1116 "type" : "Roo.EventObject",
1118 "isOptional" : false
1123 "desc" : "(also available as button.pressed)",
1124 "isOptional" : false
1130 "name" : "dblclick",
1131 "type" : "function",
1132 "desc" : "When a button is double clicked",
1133 "sig" : "function (btn, e)\n{\n\n}",
1142 "type" : "Roo.bootstrap.Button",
1144 "isOptional" : false
1148 "type" : "Roo.EventObject",
1150 "isOptional" : false
1157 "type" : "function",
1158 "desc" : "When a button is pressed",
1159 "sig" : "function (btn, e)\n{\n\n}",
1168 "type" : "Roo.bootstrap.Button",
1170 "isOptional" : false
1174 "type" : "Roo.EventObject",
1176 "isOptional" : false
1182 "name" : "childrenrendered",
1183 "type" : "function",
1184 "desc" : "Fires when the children have been rendered..",
1185 "sig" : "function (_self)\n{\n\n}",
1186 "memberOf" : "Roo.bootstrap.Component",
1194 "type" : "Roo.bootstrap.Component",
1196 "isOptional" : false
1202 "name" : "beforerender",
1203 "type" : "function",
1204 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1205 "sig" : "function (_self)\n{\n\n}",
1206 "memberOf" : "Roo.Component",
1214 "type" : "Roo.Component",
1216 "isOptional" : false
1223 "type" : "function",
1224 "desc" : "Fires after the component is disabled.",
1225 "sig" : "function (_self)\n{\n\n}",
1226 "memberOf" : "Roo.Component",
1234 "type" : "Roo.Component",
1236 "isOptional" : false
1243 "type" : "function",
1244 "desc" : "Fires after the component is rendered.",
1245 "sig" : "function (_self)\n{\n\n}",
1246 "memberOf" : "Roo.Component",
1254 "type" : "Roo.Component",
1256 "isOptional" : false
1263 "type" : "function",
1264 "desc" : "Fires after the component is destroyed.",
1265 "sig" : "function (_self)\n{\n\n}",
1266 "memberOf" : "Roo.Component",
1274 "type" : "Roo.Component",
1276 "isOptional" : false
1283 "type" : "function",
1284 "desc" : "Fires after the component is hidden.",
1285 "sig" : "function (_self)\n{\n\n}",
1286 "memberOf" : "Roo.Component",
1294 "type" : "Roo.Component",
1296 "isOptional" : false
1302 "name" : "beforehide",
1303 "type" : "function",
1304 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1305 "sig" : "function (_self)\n{\n\n}",
1306 "memberOf" : "Roo.Component",
1314 "type" : "Roo.Component",
1316 "isOptional" : false
1323 "type" : "function",
1324 "desc" : "Fires after the component is shown.",
1325 "sig" : "function (_self)\n{\n\n}",
1326 "memberOf" : "Roo.Component",
1334 "type" : "Roo.Component",
1336 "isOptional" : false
1342 "name" : "beforeshow",
1343 "type" : "function",
1344 "desc" : "Fires before the component is shown. Return false to stop the show.",
1345 "sig" : "function (_self)\n{\n\n}",
1346 "memberOf" : "Roo.Component",
1354 "type" : "Roo.Component",
1356 "isOptional" : false
1363 "type" : "function",
1364 "desc" : "Fires after the component is enabled.",
1365 "sig" : "function (_self)\n{\n\n}",
1366 "memberOf" : "Roo.Component",
1374 "type" : "Roo.Component",
1376 "isOptional" : false
1382 "name" : "beforedestroy",
1383 "type" : "function",
1384 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1385 "sig" : "function (_self)\n{\n\n}",
1386 "memberOf" : "Roo.Component",
1394 "type" : "Roo.Component",
1396 "isOptional" : false