2 "name" : "Roo.bootstrap.Button",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Button class",
12 "memberOf" : "Button",
21 "desc" : "The config object",
32 "desc" : "is it a slidy toggle button",
38 "desc" : "dark themed version",
44 "desc" : "text for badge",
50 "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\".",
51 "memberOf" : "Roo.Component"
56 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
57 "memberOf" : "Roo.bootstrap.Component"
62 "desc" : "default false;",
68 "desc" : "Specifies name attribute",
69 "memberOf" : "Roo.bootstrap.Component"
74 "desc" : "k) default",
80 "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
86 "desc" : "Text for the tooltip",
87 "memberOf" : "Roo.bootstrap.Component"
92 "desc" : "text for on slidy toggle state",
96 "name" : "preventDefault",
98 "desc" : "default true (stop click event triggering the URL if it's a link.)",
110 "desc" : "r) target for a href.",
114 "name" : "glyphicon",
116 "desc" : "depricated - use fa",
120 "name" : "allowDomMove",
122 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
123 "memberOf" : "Roo.Component"
128 "desc" : "any extra css",
129 "memberOf" : "Roo.bootstrap.Component"
134 "desc" : "default false;",
138 "name" : "actionMode",
140 "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",
141 "memberOf" : "Roo.Component"
144 "name" : "listeners",
146 "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>",
147 "memberOf" : "Roo.util.Observable"
150 "name" : "container_method",
152 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
153 "memberOf" : "Roo.bootstrap.Component"
158 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
170 "desc" : "css class",
171 "memberOf" : "Roo.bootstrap.Component"
174 "name" : "badge_weight",
176 "desc" : "k) default (same as button)",
180 "name" : "can_build_overlaid",
182 "desc" : "True if element can be rebuild from a HTML page",
183 "memberOf" : "Roo.bootstrap.Component"
186 "name" : "disableClass",
188 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
189 "memberOf" : "Roo.Component"
192 "name" : "visibilityEl",
193 "type" : "string|object",
194 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
195 "memberOf" : "Roo.bootstrap.Component"
200 "desc" : "empty or href",
212 "desc" : "cutomer id",
213 "memberOf" : "Roo.bootstrap.Component"
218 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
224 "desc" : "text for off slidy toggle state",
228 "name" : "removeClass",
230 "desc" : "remove the standard class..",
236 "desc" : "The button content",
242 "desc" : "default null - if the button ahs active state",
250 "desc" : "set the text of the first selected button",
251 "sig" : "()\n{\n\n}",
255 "isConstructor" : false,
269 "desc" : "get the current active state",
270 "sig" : "()\n{\n\n}",
274 "isConstructor" : false,
287 "desc" : "true if it's active"
292 "name" : "setActive",
294 "desc" : "sets the active state on/off,",
299 "isConstructor" : false,
311 "desc" : "(optional) Force a particular state",
318 "name" : "toggleActive",
320 "desc" : "toggles the current active state",
321 "sig" : "()\n{\n\n}",
325 "isConstructor" : false,
339 "desc" : "get the text of the first selected button",
340 "sig" : "()\n{\n\n}",
344 "isConstructor" : false,
358 "desc" : "Enables this button",
359 "sig" : "()\n{\n\n}",
363 "isConstructor" : false,
377 "desc" : "Disable this button",
378 "sig" : "()\n{\n\n}",
382 "isConstructor" : false,
394 "name" : "tooltipEl",
396 "desc" : "Fetch the element to display the tooltip on.",
397 "sig" : "()\n{\n\n}",
399 "memberOf" : "Roo.bootstrap.Component",
401 "isConstructor" : false,
413 "type" : "Roo.Element",
414 "desc" : "defaults to this.el"
421 "desc" : "Hide a component - adds 'hidden' class",
422 "sig" : "()\n{\n\n}",
424 "memberOf" : "Roo.bootstrap.Component",
426 "isConstructor" : false,
440 "desc" : "Show a component - removes 'hidden' class",
441 "sig" : "()\n{\n\n}",
443 "memberOf" : "Roo.bootstrap.Component",
445 "isConstructor" : false,
457 "name" : "setVisibilityEl",
459 "desc" : "Set the element that will be used to show or hide",
460 "sig" : "()\n{\n\n}",
462 "memberOf" : "Roo.bootstrap.Component",
464 "isConstructor" : false,
476 "name" : "getVisibilityEl",
478 "desc" : "Get the element that will be used to show or hide",
479 "sig" : "()\n{\n\n}",
481 "memberOf" : "Roo.bootstrap.Component",
483 "isConstructor" : false,
495 "name" : "initEvents",
497 "desc" : "Initialize Events for the element",
498 "sig" : "()\n{\n\n}",
500 "memberOf" : "Roo.bootstrap.Component",
502 "isConstructor" : false,
514 "name" : "getChildContainer",
516 "desc" : "Fetch the element to add children to",
517 "sig" : "()\n{\n\n}",
519 "memberOf" : "Roo.bootstrap.Component",
521 "isConstructor" : false,
533 "type" : "Roo.Element",
534 "desc" : "defaults to this.el"
541 "desc" : "Returns the id of this component.",
542 "sig" : "()\n{\n\n}",
544 "memberOf" : "Roo.Component",
546 "isConstructor" : false,
566 "desc" : "If this is a lazy rendering component, render it to its container element.",
567 "sig" : "(container)",
569 "memberOf" : "Roo.Component",
571 "isConstructor" : false,
581 "name" : "container",
582 "type" : "String/HTMLElement/Element",
583 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
592 "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}.",
593 "sig" : "()\n{\n\n}",
595 "memberOf" : "Roo.Component",
597 "isConstructor" : false,
609 "name" : "isVisible",
611 "desc" : "Returns true if this component is visible.",
612 "sig" : "()\n{\n\n}",
614 "memberOf" : "Roo.Component",
616 "isConstructor" : false,
628 "name" : "setDisabled",
630 "desc" : "Convenience function for setting disabled/enabled by boolean.",
631 "sig" : "(disabled)",
633 "memberOf" : "Roo.Component",
635 "isConstructor" : false,
656 "desc" : "Try to focus this component.",
657 "sig" : "(selectText)",
659 "memberOf" : "Roo.Component",
661 "isConstructor" : false,
671 "name" : "selectText",
673 "desc" : "True to also select the text in this component (if applicable)",
680 "type" : "Roo.Component",
686 "name" : "setVisible",
688 "desc" : "Convenience function to hide or show this component by boolean.",
691 "memberOf" : "Roo.Component",
693 "isConstructor" : false,
705 "desc" : "True to show, false to hide",
712 "type" : "Roo.Component",
720 "desc" : "Returns the underlying {@link Roo.Element}.",
721 "sig" : "()\n{\n\n}",
723 "memberOf" : "Roo.Component",
725 "isConstructor" : false,
737 "type" : "Roo.Element",
738 "desc" : "The element"
743 "name" : "purgeListeners",
745 "desc" : "Removes all listeners for this object",
746 "sig" : "()\n{\n\n}",
748 "memberOf" : "Roo.util.Observable",
750 "isConstructor" : false,
764 "desc" : "Appends an event handler to this element (shorthand for addListener)",
765 "sig" : "(eventName, handler, scope, options)",
767 "memberOf" : "Roo.util.Observable",
769 "isConstructor" : false,
779 "name" : "eventName",
781 "desc" : "The type of event to listen for",
787 "desc" : "The method the event invokes",
793 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
799 "desc" : "(optional)",
808 "desc" : "Removes a listener (shorthand for removeListener)",
809 "sig" : "(eventName, handler, scope)",
811 "memberOf" : "Roo.util.Observable",
813 "isConstructor" : false,
823 "name" : "eventName",
825 "desc" : "The type of event to listen for",
831 "desc" : "The handler to remove",
837 "desc" : "(optional) The scope (this object) for the handler",
844 "name" : "addEvents",
846 "desc" : "Used to define events on this Observable",
849 "memberOf" : "Roo.util.Observable",
851 "isConstructor" : false,
863 "desc" : "The object with the events defined",
870 "name" : "releaseCapture",
872 "desc" : "Removes <b>all</b> added captures from the Observable.",
875 "memberOf" : "Roo.util.Observable",
877 "isConstructor" : false,
888 "type" : "Observable",
889 "desc" : "The Observable to release",
896 "name" : "removeListener",
898 "desc" : "Removes a listener",
899 "sig" : "(eventName, handler, scope)",
901 "memberOf" : "Roo.util.Observable",
903 "isConstructor" : false,
913 "name" : "eventName",
915 "desc" : "The type of event to listen for",
921 "desc" : "The handler to remove",
927 "desc" : "(optional) The scope (this object) for the handler",
934 "name" : "fireEvent",
936 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
937 "sig" : "(eventName, args)",
939 "memberOf" : "Roo.util.Observable",
941 "isConstructor" : false,
951 "name" : "eventName",
958 "type" : "Object...",
959 "desc" : "Variable number of parameters are passed to handlers",
967 "desc" : "returns false if any of the handlers return false otherwise it returns true"
972 "name" : "hasListener",
974 "desc" : "Checks to see if this object has any listeners for a specified event",
975 "sig" : "(eventName)",
977 "memberOf" : "Roo.util.Observable",
979 "isConstructor" : false,
989 "name" : "eventName",
991 "desc" : "The name of the event to check for",
999 "desc" : "True if the event is being listened for, else false"
1005 "type" : "function",
1006 "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.",
1007 "sig" : "(o, fn, scope)",
1009 "memberOf" : "Roo.util.Observable",
1011 "isConstructor" : false,
1012 "isPrivate" : false,
1022 "type" : "Observable",
1023 "desc" : "The Observable to capture",
1024 "isOptional" : false
1028 "type" : "Function",
1029 "desc" : "The function to call",
1030 "isOptional" : false
1035 "desc" : "(optional) The scope (this object) for the fn",
1036 "isOptional" : false
1042 "name" : "addListener",
1043 "type" : "function",
1044 "desc" : "Appends an event handler to this component",
1045 "sig" : "(eventName, handler, scope, options)",
1047 "memberOf" : "Roo.util.Observable",
1049 "isConstructor" : false,
1050 "isPrivate" : false,
1059 "name" : "eventName",
1061 "desc" : "The type of event to listen for",
1062 "isOptional" : false
1066 "type" : "Function",
1067 "desc" : "The method the event invokes",
1068 "isOptional" : false
1073 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1074 "isOptional" : false
1079 "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>",
1080 "isOptional" : false
1089 "type" : "function",
1090 "desc" : "After the button has been toggles",
1091 "sig" : "function (btn, e, pressed)\n{\n\n}",
1100 "type" : "Roo.bootstrap.Button",
1102 "isOptional" : false
1106 "type" : "Roo.EventObject",
1108 "isOptional" : false
1113 "desc" : "(also available as button.pressed)",
1114 "isOptional" : false
1120 "name" : "dblclick",
1121 "type" : "function",
1122 "desc" : "When a button is double clicked",
1123 "sig" : "function (btn, e)\n{\n\n}",
1132 "type" : "Roo.bootstrap.Button",
1134 "isOptional" : false
1138 "type" : "Roo.EventObject",
1140 "isOptional" : false
1147 "type" : "function",
1148 "desc" : "When a button is pressed",
1149 "sig" : "function (btn, e)\n{\n\n}",
1158 "type" : "Roo.bootstrap.Button",
1160 "isOptional" : false
1164 "type" : "Roo.EventObject",
1166 "isOptional" : false
1172 "name" : "childrenrendered",
1173 "type" : "function",
1174 "desc" : "Fires when the children have been rendered..",
1175 "sig" : "function (_self)\n{\n\n}",
1176 "memberOf" : "Roo.bootstrap.Component",
1184 "type" : "Roo.bootstrap.Component",
1186 "isOptional" : false
1192 "name" : "beforerender",
1193 "type" : "function",
1194 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1195 "sig" : "function (_self)\n{\n\n}",
1196 "memberOf" : "Roo.Component",
1204 "type" : "Roo.Component",
1206 "isOptional" : false
1213 "type" : "function",
1214 "desc" : "Fires after the component is disabled.",
1215 "sig" : "function (_self)\n{\n\n}",
1216 "memberOf" : "Roo.Component",
1224 "type" : "Roo.Component",
1226 "isOptional" : false
1233 "type" : "function",
1234 "desc" : "Fires after the component is rendered.",
1235 "sig" : "function (_self)\n{\n\n}",
1236 "memberOf" : "Roo.Component",
1244 "type" : "Roo.Component",
1246 "isOptional" : false
1253 "type" : "function",
1254 "desc" : "Fires after the component is destroyed.",
1255 "sig" : "function (_self)\n{\n\n}",
1256 "memberOf" : "Roo.Component",
1264 "type" : "Roo.Component",
1266 "isOptional" : false
1273 "type" : "function",
1274 "desc" : "Fires after the component is hidden.",
1275 "sig" : "function (_self)\n{\n\n}",
1276 "memberOf" : "Roo.Component",
1284 "type" : "Roo.Component",
1286 "isOptional" : false
1292 "name" : "beforehide",
1293 "type" : "function",
1294 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1295 "sig" : "function (_self)\n{\n\n}",
1296 "memberOf" : "Roo.Component",
1304 "type" : "Roo.Component",
1306 "isOptional" : false
1313 "type" : "function",
1314 "desc" : "Fires after the component is shown.",
1315 "sig" : "function (_self)\n{\n\n}",
1316 "memberOf" : "Roo.Component",
1324 "type" : "Roo.Component",
1326 "isOptional" : false
1332 "name" : "beforeshow",
1333 "type" : "function",
1334 "desc" : "Fires before the component is shown. Return false to stop the show.",
1335 "sig" : "function (_self)\n{\n\n}",
1336 "memberOf" : "Roo.Component",
1344 "type" : "Roo.Component",
1346 "isOptional" : false
1353 "type" : "function",
1354 "desc" : "Fires after the component is enabled.",
1355 "sig" : "function (_self)\n{\n\n}",
1356 "memberOf" : "Roo.Component",
1364 "type" : "Roo.Component",
1366 "isOptional" : false
1372 "name" : "beforedestroy",
1373 "type" : "function",
1374 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1375 "sig" : "function (_self)\n{\n\n}",
1376 "memberOf" : "Roo.Component",
1384 "type" : "Roo.Component",
1386 "isOptional" : false