2 "name" : "Roo.bootstrap.Button",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Button class",
12 "memberOf" : "Button",
21 "desc" : "The config object",
30 "desc" : "is it a slidy toggle button",
31 "memberOf" : "Roo.bootstrap.Button",
37 "desc" : "dark themed version",
38 "memberOf" : "Roo.bootstrap.Button",
44 "desc" : "text for badge",
45 "memberOf" : "Roo.bootstrap.Button",
51 "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\".",
52 "memberOf" : "Roo.Component",
61 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
62 "memberOf" : "Roo.bootstrap.Component",
68 "desc" : "default false;",
69 "memberOf" : "Roo.bootstrap.Button",
75 "desc" : "Specifies name attribute",
76 "memberOf" : "Roo.bootstrap.Component",
83 "memberOf" : "Roo.bootstrap.Button",
98 "desc" : "Text for the tooltip",
99 "memberOf" : "Roo.bootstrap.Component",
105 "desc" : "text for on slidy toggle state",
106 "memberOf" : "Roo.bootstrap.Button",
110 "name" : "preventDefault",
112 "desc" : "default true (stop click event triggering the URL if it's a link.)",
113 "memberOf" : "Roo.bootstrap.Button",
120 "memberOf" : "Roo.bootstrap.Button",
129 "desc" : "r) target for a href.",
130 "memberOf" : "Roo.bootstrap.Button",
140 "name" : "glyphicon",
142 "desc" : "depricated - use fa",
143 "memberOf" : "Roo.bootstrap.Button",
147 "name" : "allowDomMove",
149 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
150 "memberOf" : "Roo.Component",
156 "desc" : "any extra css",
157 "memberOf" : "Roo.bootstrap.Component",
163 "desc" : "default false;",
164 "memberOf" : "Roo.bootstrap.Button",
168 "name" : "actionMode",
170 "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",
171 "memberOf" : "Roo.Component",
175 "name" : "listeners",
177 "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>",
178 "memberOf" : "Roo.util.Observable",
182 "name" : "container_method",
184 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
185 "memberOf" : "Roo.bootstrap.Component",
191 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
192 "memberOf" : "Roo.bootstrap.Button",
199 "memberOf" : "Roo.bootstrap.Button",
209 "desc" : "css class",
210 "memberOf" : "Roo.bootstrap.Component",
214 "name" : "badge_weight",
216 "desc" : ") default (same as button)",
217 "memberOf" : "Roo.bootstrap.Button",
230 "name" : "can_build_overlaid",
232 "desc" : "True if element can be rebuild from a HTML page",
233 "memberOf" : "Roo.bootstrap.Component",
237 "name" : "disableClass",
239 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
240 "memberOf" : "Roo.Component",
244 "name" : "visibilityEl",
245 "type" : "string|object",
246 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
247 "memberOf" : "Roo.bootstrap.Component",
256 "desc" : "empty or href",
257 "memberOf" : "Roo.bootstrap.Button",
264 "memberOf" : "Roo.bootstrap.Button",
274 "desc" : "cutomer id",
275 "memberOf" : "Roo.bootstrap.Component",
281 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
282 "memberOf" : "Roo.bootstrap.Button",
288 "desc" : "text for off slidy toggle state",
289 "memberOf" : "Roo.bootstrap.Button",
293 "name" : "removeClass",
295 "desc" : "remove the standard class..",
296 "memberOf" : "Roo.bootstrap.Button",
302 "desc" : "The button content",
303 "memberOf" : "Roo.bootstrap.Button",
309 "desc" : "default null - if the button ahs active state",
310 "memberOf" : "Roo.bootstrap.Button",
317 "desc" : "set the text of the first selected button",
319 "isConstructor" : false,
321 "memberOf" : "Roo.bootstrap.Button",
331 "desc" : "get the current active state",
333 "isConstructor" : false,
335 "memberOf" : "Roo.bootstrap.Button",
345 "desc" : "true if it's active"
350 "name" : "setActive",
351 "desc" : "sets the active state on/off,",
353 "isConstructor" : false,
355 "memberOf" : "Roo.bootstrap.Button",
364 "desc" : "(optional) Force a particular state",
371 "name" : "toggleActive",
372 "desc" : "toggles the current active state",
374 "isConstructor" : false,
376 "memberOf" : "Roo.bootstrap.Button",
386 "desc" : "get the text of the first selected button",
388 "isConstructor" : false,
390 "memberOf" : "Roo.bootstrap.Button",
400 "desc" : "Enables this button",
402 "isConstructor" : false,
404 "memberOf" : "Roo.bootstrap.Button",
414 "desc" : "Disable this button",
416 "isConstructor" : false,
418 "memberOf" : "Roo.bootstrap.Button",
427 "name" : "tooltipEl",
428 "desc" : "Fetch the element to display the tooltip on.",
430 "isConstructor" : false,
432 "memberOf" : "Roo.bootstrap.Component",
441 "type" : "Roo.Element",
442 "desc" : "defaults to this.el"
448 "desc" : "Hide a component - adds 'hidden' class",
450 "isConstructor" : false,
452 "memberOf" : "Roo.bootstrap.Component",
462 "desc" : "Show a component - removes 'hidden' class",
464 "isConstructor" : false,
466 "memberOf" : "Roo.bootstrap.Component",
475 "name" : "setVisibilityEl",
476 "desc" : "Set the element that will be used to show or hide",
478 "isConstructor" : false,
480 "memberOf" : "Roo.bootstrap.Component",
489 "name" : "getVisibilityEl",
490 "desc" : "Get the element that will be used to show or hide",
492 "isConstructor" : false,
494 "memberOf" : "Roo.bootstrap.Component",
503 "name" : "initEvents",
504 "desc" : "Initialize Events for the element",
506 "isConstructor" : false,
508 "memberOf" : "Roo.bootstrap.Component",
517 "name" : "getChildContainer",
518 "desc" : "Fetch the element to add children to",
520 "isConstructor" : false,
522 "memberOf" : "Roo.bootstrap.Component",
531 "type" : "Roo.Element",
532 "desc" : "defaults to this.el"
538 "desc" : "Returns the id of this component.",
540 "isConstructor" : false,
542 "memberOf" : "Roo.Component",
558 "desc" : "If this is a lazy rendering component, render it to its container element.",
560 "isConstructor" : false,
562 "memberOf" : "Roo.Component",
569 "name" : "container",
570 "type" : "String/HTMLElement/Element",
571 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
579 "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}.",
581 "isConstructor" : false,
583 "memberOf" : "Roo.Component",
592 "name" : "isVisible",
593 "desc" : "Returns true if this component is visible.",
595 "isConstructor" : false,
597 "memberOf" : "Roo.Component",
606 "name" : "setDisabled",
607 "desc" : "Convenience function for setting disabled/enabled by boolean.",
609 "isConstructor" : false,
611 "memberOf" : "Roo.Component",
628 "desc" : "Try to focus this component.",
630 "isConstructor" : false,
632 "memberOf" : "Roo.Component",
639 "name" : "selectText",
641 "desc" : "True to also select the text in this component (if applicable)",
648 "type" : "Roo.Component",
654 "name" : "setVisible",
655 "desc" : "Convenience function to hide or show this component by boolean.",
657 "isConstructor" : false,
659 "memberOf" : "Roo.Component",
668 "desc" : "True to show, false to hide",
675 "type" : "Roo.Component",
682 "desc" : "Returns the underlying {@link Roo.Element}.",
684 "isConstructor" : false,
686 "memberOf" : "Roo.Component",
695 "type" : "Roo.Element",
696 "desc" : "The element"
701 "name" : "purgeListeners",
702 "desc" : "Removes all listeners for this object",
704 "isConstructor" : false,
706 "memberOf" : "Roo.util.Observable",
716 "desc" : "Appends an event handler to this element (shorthand for addListener)",
718 "isConstructor" : false,
720 "memberOf" : "Roo.util.Observable",
727 "name" : "eventName",
729 "desc" : "The type of event to listen for",
735 "desc" : "The method the event invokes",
741 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
747 "desc" : "(optional)",
755 "desc" : "Removes a listener (shorthand for removeListener)",
757 "isConstructor" : false,
759 "memberOf" : "Roo.util.Observable",
766 "name" : "eventName",
768 "desc" : "The type of event to listen for",
774 "desc" : "The handler to remove",
780 "desc" : "(optional) The scope (this object) for the handler",
787 "name" : "addEvents",
788 "desc" : "Used to define events on this Observable",
790 "isConstructor" : false,
792 "memberOf" : "Roo.util.Observable",
801 "desc" : "The object with the events defined",
808 "name" : "releaseCapture",
809 "desc" : "Removes <b>all</b> added captures from the Observable.",
811 "isConstructor" : false,
813 "memberOf" : "Roo.util.Observable",
821 "type" : "Observable",
822 "desc" : "The Observable to release",
829 "name" : "removeListener",
830 "desc" : "Removes a listener",
832 "isConstructor" : false,
834 "memberOf" : "Roo.util.Observable",
841 "name" : "eventName",
843 "desc" : "The type of event to listen for",
849 "desc" : "The handler to remove",
855 "desc" : "(optional) The scope (this object) for the handler",
862 "name" : "fireEvent",
863 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
865 "isConstructor" : false,
867 "memberOf" : "Roo.util.Observable",
874 "name" : "eventName",
881 "type" : "Object...",
882 "desc" : "Variable number of parameters are passed to handlers",
890 "desc" : "returns false if any of the handlers return false otherwise it returns true"
895 "name" : "hasListener",
896 "desc" : "Checks to see if this object has any listeners for a specified event",
898 "isConstructor" : false,
900 "memberOf" : "Roo.util.Observable",
907 "name" : "eventName",
909 "desc" : "The name of the event to check for",
917 "desc" : "True if the event is being listened for, else false"
923 "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.",
925 "isConstructor" : false,
927 "memberOf" : "Roo.util.Observable",
935 "type" : "Observable",
936 "desc" : "The Observable to capture",
942 "desc" : "The function to call",
948 "desc" : "(optional) The scope (this object) for the fn",
955 "name" : "addListener",
956 "desc" : "Appends an event handler to this component",
958 "isConstructor" : false,
960 "memberOf" : "Roo.util.Observable",
967 "name" : "eventName",
969 "desc" : "The type of event to listen for",
975 "desc" : "The method the event invokes",
981 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
987 "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>",
997 "desc" : "After the button has been toggles",
998 "memberOf" : "Roo.bootstrap.Button",
1006 "type" : "Roo.bootstrap.Button",
1008 "isOptional" : false
1012 "type" : "Roo.EventObject",
1014 "isOptional" : false
1019 "desc" : "(also available as button.pressed)",
1020 "isOptional" : false
1027 "desc" : "When a butotn is pressed",
1028 "memberOf" : "Roo.bootstrap.Button",
1036 "type" : "Roo.bootstrap.Button",
1038 "isOptional" : false
1042 "type" : "Roo.EventObject",
1044 "isOptional" : false
1050 "name" : "childrenrendered",
1051 "desc" : "Fires when the children have been rendered..",
1052 "memberOf" : "Roo.bootstrap.Component",
1060 "type" : "Roo.bootstrap.Component",
1062 "isOptional" : false
1068 "name" : "beforerender",
1069 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1070 "memberOf" : "Roo.Component",
1078 "type" : "Roo.Component",
1080 "isOptional" : false
1087 "desc" : "Fires after the component is disabled.",
1088 "memberOf" : "Roo.Component",
1096 "type" : "Roo.Component",
1098 "isOptional" : false
1105 "desc" : "Fires after the component is rendered.",
1106 "memberOf" : "Roo.Component",
1114 "type" : "Roo.Component",
1116 "isOptional" : false
1123 "desc" : "Fires after the component is destroyed.",
1124 "memberOf" : "Roo.Component",
1132 "type" : "Roo.Component",
1134 "isOptional" : false
1141 "desc" : "Fires after the component is hidden.",
1142 "memberOf" : "Roo.Component",
1150 "type" : "Roo.Component",
1152 "isOptional" : false
1158 "name" : "beforehide",
1159 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1160 "memberOf" : "Roo.Component",
1168 "type" : "Roo.Component",
1170 "isOptional" : false
1177 "desc" : "Fires after the component is shown.",
1178 "memberOf" : "Roo.Component",
1186 "type" : "Roo.Component",
1188 "isOptional" : false
1194 "name" : "beforeshow",
1195 "desc" : "Fires before the component is shown. Return false to stop the show.",
1196 "memberOf" : "Roo.Component",
1204 "type" : "Roo.Component",
1206 "isOptional" : false
1213 "desc" : "Fires after the component is enabled.",
1214 "memberOf" : "Roo.Component",
1222 "type" : "Roo.Component",
1224 "isOptional" : false
1230 "name" : "beforedestroy",
1231 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1232 "memberOf" : "Roo.Component",
1240 "type" : "Roo.Component",
1242 "isOptional" : false