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",
247 "type" : "Roo.bootstrap.menu.Menu",
256 "desc" : "set the text of the first selected button",
257 "sig" : "()\n{\n\n}",
261 "isConstructor" : false,
275 "desc" : "get the current active state",
276 "sig" : "()\n{\n\n}",
280 "isConstructor" : false,
293 "desc" : "true if it's active"
298 "name" : "setActive",
300 "desc" : "sets the active state on/off,",
305 "isConstructor" : false,
317 "desc" : "(optional) Force a particular state",
324 "name" : "toggleActive",
326 "desc" : "toggles the current active state",
327 "sig" : "()\n{\n\n}",
331 "isConstructor" : false,
345 "desc" : "get the text of the first selected button",
346 "sig" : "()\n{\n\n}",
350 "isConstructor" : false,
364 "desc" : "Enables this button",
365 "sig" : "()\n{\n\n}",
369 "isConstructor" : false,
383 "desc" : "Disable this button",
384 "sig" : "()\n{\n\n}",
388 "isConstructor" : false,
400 "name" : "tooltipEl",
402 "desc" : "Fetch the element to display the tooltip on.",
403 "sig" : "()\n{\n\n}",
405 "memberOf" : "Roo.bootstrap.Component",
407 "isConstructor" : false,
419 "type" : "Roo.Element",
420 "desc" : "defaults to this.el"
427 "desc" : "Hide a component - adds 'hidden' class",
428 "sig" : "()\n{\n\n}",
430 "memberOf" : "Roo.bootstrap.Component",
432 "isConstructor" : false,
446 "desc" : "Show a component - removes 'hidden' class",
447 "sig" : "()\n{\n\n}",
449 "memberOf" : "Roo.bootstrap.Component",
451 "isConstructor" : false,
463 "name" : "setVisibilityEl",
465 "desc" : "Set the element that will be used to show or hide",
466 "sig" : "()\n{\n\n}",
468 "memberOf" : "Roo.bootstrap.Component",
470 "isConstructor" : false,
482 "name" : "getVisibilityEl",
484 "desc" : "Get the element that will be used to show or hide",
485 "sig" : "()\n{\n\n}",
487 "memberOf" : "Roo.bootstrap.Component",
489 "isConstructor" : false,
501 "name" : "initEvents",
503 "desc" : "Initialize Events for the element",
504 "sig" : "()\n{\n\n}",
506 "memberOf" : "Roo.bootstrap.Component",
508 "isConstructor" : false,
520 "name" : "getChildContainer",
522 "desc" : "Fetch the element to add children to",
523 "sig" : "()\n{\n\n}",
525 "memberOf" : "Roo.bootstrap.Component",
527 "isConstructor" : false,
539 "type" : "Roo.Element",
540 "desc" : "defaults to this.el"
547 "desc" : "Returns the id of this component.",
548 "sig" : "()\n{\n\n}",
550 "memberOf" : "Roo.Component",
552 "isConstructor" : false,
572 "desc" : "If this is a lazy rendering component, render it to its container element.",
573 "sig" : "(container)",
575 "memberOf" : "Roo.Component",
577 "isConstructor" : false,
587 "name" : "container",
588 "type" : "String/HTMLElement/Element",
589 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
598 "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}.",
599 "sig" : "()\n{\n\n}",
601 "memberOf" : "Roo.Component",
603 "isConstructor" : false,
615 "name" : "isVisible",
617 "desc" : "Returns true if this component is visible.",
618 "sig" : "()\n{\n\n}",
620 "memberOf" : "Roo.Component",
622 "isConstructor" : false,
634 "name" : "setDisabled",
636 "desc" : "Convenience function for setting disabled/enabled by boolean.",
637 "sig" : "(disabled)",
639 "memberOf" : "Roo.Component",
641 "isConstructor" : false,
662 "desc" : "Try to focus this component.",
663 "sig" : "(selectText)",
665 "memberOf" : "Roo.Component",
667 "isConstructor" : false,
677 "name" : "selectText",
679 "desc" : "True to also select the text in this component (if applicable)",
686 "type" : "Roo.Component",
692 "name" : "setVisible",
694 "desc" : "Convenience function to hide or show this component by boolean.",
697 "memberOf" : "Roo.Component",
699 "isConstructor" : false,
711 "desc" : "True to show, false to hide",
718 "type" : "Roo.Component",
726 "desc" : "Returns the underlying {@link Roo.Element}.",
727 "sig" : "()\n{\n\n}",
729 "memberOf" : "Roo.Component",
731 "isConstructor" : false,
743 "type" : "Roo.Element",
744 "desc" : "The element"
749 "name" : "purgeListeners",
751 "desc" : "Removes all listeners for this object",
752 "sig" : "()\n{\n\n}",
754 "memberOf" : "Roo.util.Observable",
756 "isConstructor" : false,
770 "desc" : "Appends an event handler to this element (shorthand for addListener)",
771 "sig" : "(eventName, handler, scope, options)",
773 "memberOf" : "Roo.util.Observable",
775 "isConstructor" : false,
785 "name" : "eventName",
787 "desc" : "The type of event to listen for",
793 "desc" : "The method the event invokes",
799 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
805 "desc" : "(optional)",
814 "desc" : "Removes a listener (shorthand for removeListener)",
815 "sig" : "(eventName, handler, scope)",
817 "memberOf" : "Roo.util.Observable",
819 "isConstructor" : false,
829 "name" : "eventName",
831 "desc" : "The type of event to listen for",
837 "desc" : "The handler to remove",
843 "desc" : "(optional) The scope (this object) for the handler",
850 "name" : "addEvents",
852 "desc" : "Used to define events on this Observable",
855 "memberOf" : "Roo.util.Observable",
857 "isConstructor" : false,
869 "desc" : "The object with the events defined",
876 "name" : "releaseCapture",
878 "desc" : "Removes <b>all</b> added captures from the Observable.",
881 "memberOf" : "Roo.util.Observable",
883 "isConstructor" : false,
894 "type" : "Observable",
895 "desc" : "The Observable to release",
902 "name" : "removeListener",
904 "desc" : "Removes a listener",
905 "sig" : "(eventName, handler, scope)",
907 "memberOf" : "Roo.util.Observable",
909 "isConstructor" : false,
919 "name" : "eventName",
921 "desc" : "The type of event to listen for",
927 "desc" : "The handler to remove",
933 "desc" : "(optional) The scope (this object) for the handler",
940 "name" : "fireEvent",
942 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
943 "sig" : "(eventName, args)",
945 "memberOf" : "Roo.util.Observable",
947 "isConstructor" : false,
957 "name" : "eventName",
964 "type" : "Object...",
965 "desc" : "Variable number of parameters are passed to handlers",
973 "desc" : "returns false if any of the handlers return false otherwise it returns true"
978 "name" : "hasListener",
980 "desc" : "Checks to see if this object has any listeners for a specified event",
981 "sig" : "(eventName)",
983 "memberOf" : "Roo.util.Observable",
985 "isConstructor" : false,
995 "name" : "eventName",
997 "desc" : "The name of the event to check for",
1005 "desc" : "True if the event is being listened for, else false"
1011 "type" : "function",
1012 "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.",
1013 "sig" : "(o, fn, scope)",
1015 "memberOf" : "Roo.util.Observable",
1017 "isConstructor" : false,
1018 "isPrivate" : false,
1028 "type" : "Observable",
1029 "desc" : "The Observable to capture",
1030 "isOptional" : false
1034 "type" : "Function",
1035 "desc" : "The function to call",
1036 "isOptional" : false
1041 "desc" : "(optional) The scope (this object) for the fn",
1042 "isOptional" : false
1048 "name" : "addListener",
1049 "type" : "function",
1050 "desc" : "Appends an event handler to this component",
1051 "sig" : "(eventName, handler, scope, options)",
1053 "memberOf" : "Roo.util.Observable",
1055 "isConstructor" : false,
1056 "isPrivate" : false,
1065 "name" : "eventName",
1067 "desc" : "The type of event to listen for",
1068 "isOptional" : false
1072 "type" : "Function",
1073 "desc" : "The method the event invokes",
1074 "isOptional" : false
1079 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1080 "isOptional" : false
1085 "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>",
1086 "isOptional" : false
1095 "type" : "function",
1096 "desc" : "After the button has been toggles",
1097 "sig" : "function (btn, e, pressed)\n{\n\n}",
1106 "type" : "Roo.bootstrap.Button",
1108 "isOptional" : false
1112 "type" : "Roo.EventObject",
1114 "isOptional" : false
1119 "desc" : "(also available as button.pressed)",
1120 "isOptional" : false
1126 "name" : "dblclick",
1127 "type" : "function",
1128 "desc" : "When a button is double clicked",
1129 "sig" : "function (btn, e)\n{\n\n}",
1138 "type" : "Roo.bootstrap.Button",
1140 "isOptional" : false
1144 "type" : "Roo.EventObject",
1146 "isOptional" : false
1153 "type" : "function",
1154 "desc" : "When a button is pressed",
1155 "sig" : "function (btn, e)\n{\n\n}",
1164 "type" : "Roo.bootstrap.Button",
1166 "isOptional" : false
1170 "type" : "Roo.EventObject",
1172 "isOptional" : false
1178 "name" : "childrenrendered",
1179 "type" : "function",
1180 "desc" : "Fires when the children have been rendered..",
1181 "sig" : "function (_self)\n{\n\n}",
1182 "memberOf" : "Roo.bootstrap.Component",
1190 "type" : "Roo.bootstrap.Component",
1192 "isOptional" : false
1198 "name" : "beforerender",
1199 "type" : "function",
1200 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1201 "sig" : "function (_self)\n{\n\n}",
1202 "memberOf" : "Roo.Component",
1210 "type" : "Roo.Component",
1212 "isOptional" : false
1219 "type" : "function",
1220 "desc" : "Fires after the component is disabled.",
1221 "sig" : "function (_self)\n{\n\n}",
1222 "memberOf" : "Roo.Component",
1230 "type" : "Roo.Component",
1232 "isOptional" : false
1239 "type" : "function",
1240 "desc" : "Fires after the component is rendered.",
1241 "sig" : "function (_self)\n{\n\n}",
1242 "memberOf" : "Roo.Component",
1250 "type" : "Roo.Component",
1252 "isOptional" : false
1259 "type" : "function",
1260 "desc" : "Fires after the component is destroyed.",
1261 "sig" : "function (_self)\n{\n\n}",
1262 "memberOf" : "Roo.Component",
1270 "type" : "Roo.Component",
1272 "isOptional" : false
1279 "type" : "function",
1280 "desc" : "Fires after the component is hidden.",
1281 "sig" : "function (_self)\n{\n\n}",
1282 "memberOf" : "Roo.Component",
1290 "type" : "Roo.Component",
1292 "isOptional" : false
1298 "name" : "beforehide",
1299 "type" : "function",
1300 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1301 "sig" : "function (_self)\n{\n\n}",
1302 "memberOf" : "Roo.Component",
1310 "type" : "Roo.Component",
1312 "isOptional" : false
1319 "type" : "function",
1320 "desc" : "Fires after the component is shown.",
1321 "sig" : "function (_self)\n{\n\n}",
1322 "memberOf" : "Roo.Component",
1330 "type" : "Roo.Component",
1332 "isOptional" : false
1338 "name" : "beforeshow",
1339 "type" : "function",
1340 "desc" : "Fires before the component is shown. Return false to stop the show.",
1341 "sig" : "function (_self)\n{\n\n}",
1342 "memberOf" : "Roo.Component",
1350 "type" : "Roo.Component",
1352 "isOptional" : false
1359 "type" : "function",
1360 "desc" : "Fires after the component is enabled.",
1361 "sig" : "function (_self)\n{\n\n}",
1362 "memberOf" : "Roo.Component",
1370 "type" : "Roo.Component",
1372 "isOptional" : false
1378 "name" : "beforedestroy",
1379 "type" : "function",
1380 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1381 "sig" : "function (_self)\n{\n\n}",
1382 "memberOf" : "Roo.Component",
1390 "type" : "Roo.Component",
1392 "isOptional" : false