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",
82 "desc" : "k) default",
83 "memberOf" : "Roo.bootstrap.Button",
100 "desc" : "Text for the tooltip",
101 "memberOf" : "Roo.bootstrap.Component",
107 "desc" : "text for on slidy toggle state",
108 "memberOf" : "Roo.bootstrap.Button",
112 "name" : "preventDefault",
114 "desc" : "default true (stop click event triggering the URL if it's a link.)",
115 "memberOf" : "Roo.bootstrap.Button",
122 "memberOf" : "Roo.bootstrap.Button",
131 "desc" : "r) target for a href.",
132 "memberOf" : "Roo.bootstrap.Button",
142 "name" : "glyphicon",
144 "desc" : "depricated - use fa",
145 "memberOf" : "Roo.bootstrap.Button",
149 "name" : "allowDomMove",
151 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
152 "memberOf" : "Roo.Component",
158 "desc" : "any extra css",
159 "memberOf" : "Roo.bootstrap.Component",
165 "desc" : "default false;",
166 "memberOf" : "Roo.bootstrap.Button",
170 "name" : "actionMode",
172 "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",
173 "memberOf" : "Roo.Component",
177 "name" : "listeners",
179 "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>",
180 "memberOf" : "Roo.util.Observable",
184 "name" : "container_method",
186 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
187 "memberOf" : "Roo.bootstrap.Component",
193 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
194 "memberOf" : "Roo.bootstrap.Button",
201 "memberOf" : "Roo.bootstrap.Button",
211 "desc" : "css class",
212 "memberOf" : "Roo.bootstrap.Component",
216 "name" : "badge_weight",
218 "desc" : "k) default (same as button)",
219 "memberOf" : "Roo.bootstrap.Button",
234 "name" : "can_build_overlaid",
236 "desc" : "True if element can be rebuild from a HTML page",
237 "memberOf" : "Roo.bootstrap.Component",
241 "name" : "disableClass",
243 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
244 "memberOf" : "Roo.Component",
248 "name" : "visibilityEl",
249 "type" : "string|object",
250 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
251 "memberOf" : "Roo.bootstrap.Component",
260 "desc" : "empty or href",
261 "memberOf" : "Roo.bootstrap.Button",
268 "memberOf" : "Roo.bootstrap.Button",
278 "desc" : "cutomer id",
279 "memberOf" : "Roo.bootstrap.Component",
285 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
286 "memberOf" : "Roo.bootstrap.Button",
292 "desc" : "text for off slidy toggle state",
293 "memberOf" : "Roo.bootstrap.Button",
297 "name" : "removeClass",
299 "desc" : "remove the standard class..",
300 "memberOf" : "Roo.bootstrap.Button",
306 "desc" : "The button content",
307 "memberOf" : "Roo.bootstrap.Button",
313 "desc" : "default null - if the button ahs active state",
314 "memberOf" : "Roo.bootstrap.Button",
321 "desc" : "set the text of the first selected button",
323 "isConstructor" : false,
325 "memberOf" : "Roo.bootstrap.Button",
335 "desc" : "get the current active state",
337 "isConstructor" : false,
339 "memberOf" : "Roo.bootstrap.Button",
349 "desc" : "true if it's active"
354 "name" : "setActive",
355 "desc" : "sets the active state on/off,",
357 "isConstructor" : false,
359 "memberOf" : "Roo.bootstrap.Button",
368 "desc" : "(optional) Force a particular state",
375 "name" : "toggleActive",
376 "desc" : "toggles the current active state",
378 "isConstructor" : false,
380 "memberOf" : "Roo.bootstrap.Button",
390 "desc" : "get the text of the first selected button",
392 "isConstructor" : false,
394 "memberOf" : "Roo.bootstrap.Button",
404 "desc" : "Enables this button",
406 "isConstructor" : false,
408 "memberOf" : "Roo.bootstrap.Button",
418 "desc" : "Disable this button",
420 "isConstructor" : false,
422 "memberOf" : "Roo.bootstrap.Button",
431 "name" : "tooltipEl",
432 "desc" : "Fetch the element to display the tooltip on.",
434 "isConstructor" : false,
436 "memberOf" : "Roo.bootstrap.Component",
445 "type" : "Roo.Element",
446 "desc" : "defaults to this.el"
452 "desc" : "Hide a component - adds 'hidden' class",
454 "isConstructor" : false,
456 "memberOf" : "Roo.bootstrap.Component",
466 "desc" : "Show a component - removes 'hidden' class",
468 "isConstructor" : false,
470 "memberOf" : "Roo.bootstrap.Component",
479 "name" : "setVisibilityEl",
480 "desc" : "Set the element that will be used to show or hide",
482 "isConstructor" : false,
484 "memberOf" : "Roo.bootstrap.Component",
493 "name" : "getVisibilityEl",
494 "desc" : "Get the element that will be used to show or hide",
496 "isConstructor" : false,
498 "memberOf" : "Roo.bootstrap.Component",
507 "name" : "initEvents",
508 "desc" : "Initialize Events for the element",
510 "isConstructor" : false,
512 "memberOf" : "Roo.bootstrap.Component",
521 "name" : "getChildContainer",
522 "desc" : "Fetch the element to add children to",
524 "isConstructor" : false,
526 "memberOf" : "Roo.bootstrap.Component",
535 "type" : "Roo.Element",
536 "desc" : "defaults to this.el"
542 "desc" : "Returns the id of this component.",
544 "isConstructor" : false,
546 "memberOf" : "Roo.Component",
562 "desc" : "If this is a lazy rendering component, render it to its container element.",
564 "isConstructor" : false,
566 "memberOf" : "Roo.Component",
573 "name" : "container",
574 "type" : "String/HTMLElement/Element",
575 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
583 "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}.",
585 "isConstructor" : false,
587 "memberOf" : "Roo.Component",
596 "name" : "isVisible",
597 "desc" : "Returns true if this component is visible.",
599 "isConstructor" : false,
601 "memberOf" : "Roo.Component",
610 "name" : "setDisabled",
611 "desc" : "Convenience function for setting disabled/enabled by boolean.",
613 "isConstructor" : false,
615 "memberOf" : "Roo.Component",
632 "desc" : "Try to focus this component.",
634 "isConstructor" : false,
636 "memberOf" : "Roo.Component",
643 "name" : "selectText",
645 "desc" : "True to also select the text in this component (if applicable)",
652 "type" : "Roo.Component",
658 "name" : "setVisible",
659 "desc" : "Convenience function to hide or show this component by boolean.",
661 "isConstructor" : false,
663 "memberOf" : "Roo.Component",
672 "desc" : "True to show, false to hide",
679 "type" : "Roo.Component",
686 "desc" : "Returns the underlying {@link Roo.Element}.",
688 "isConstructor" : false,
690 "memberOf" : "Roo.Component",
699 "type" : "Roo.Element",
700 "desc" : "The element"
705 "name" : "purgeListeners",
706 "desc" : "Removes all listeners for this object",
708 "isConstructor" : false,
710 "memberOf" : "Roo.util.Observable",
720 "desc" : "Appends an event handler to this element (shorthand for addListener)",
722 "isConstructor" : false,
724 "memberOf" : "Roo.util.Observable",
731 "name" : "eventName",
733 "desc" : "The type of event to listen for",
739 "desc" : "The method the event invokes",
745 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
751 "desc" : "(optional)",
759 "desc" : "Removes a listener (shorthand for removeListener)",
761 "isConstructor" : false,
763 "memberOf" : "Roo.util.Observable",
770 "name" : "eventName",
772 "desc" : "The type of event to listen for",
778 "desc" : "The handler to remove",
784 "desc" : "(optional) The scope (this object) for the handler",
791 "name" : "addEvents",
792 "desc" : "Used to define events on this Observable",
794 "isConstructor" : false,
796 "memberOf" : "Roo.util.Observable",
805 "desc" : "The object with the events defined",
812 "name" : "releaseCapture",
813 "desc" : "Removes <b>all</b> added captures from the Observable.",
815 "isConstructor" : false,
817 "memberOf" : "Roo.util.Observable",
825 "type" : "Observable",
826 "desc" : "The Observable to release",
833 "name" : "removeListener",
834 "desc" : "Removes a listener",
836 "isConstructor" : false,
838 "memberOf" : "Roo.util.Observable",
845 "name" : "eventName",
847 "desc" : "The type of event to listen for",
853 "desc" : "The handler to remove",
859 "desc" : "(optional) The scope (this object) for the handler",
866 "name" : "fireEvent",
867 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
869 "isConstructor" : false,
871 "memberOf" : "Roo.util.Observable",
878 "name" : "eventName",
885 "type" : "Object...",
886 "desc" : "Variable number of parameters are passed to handlers",
894 "desc" : "returns false if any of the handlers return false otherwise it returns true"
899 "name" : "hasListener",
900 "desc" : "Checks to see if this object has any listeners for a specified event",
902 "isConstructor" : false,
904 "memberOf" : "Roo.util.Observable",
911 "name" : "eventName",
913 "desc" : "The name of the event to check for",
921 "desc" : "True if the event is being listened for, else false"
927 "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.",
929 "isConstructor" : false,
931 "memberOf" : "Roo.util.Observable",
939 "type" : "Observable",
940 "desc" : "The Observable to capture",
946 "desc" : "The function to call",
952 "desc" : "(optional) The scope (this object) for the fn",
959 "name" : "addListener",
960 "desc" : "Appends an event handler to this component",
962 "isConstructor" : false,
964 "memberOf" : "Roo.util.Observable",
971 "name" : "eventName",
973 "desc" : "The type of event to listen for",
979 "desc" : "The method the event invokes",
985 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
991 "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>",
1001 "desc" : "After the button has been toggles",
1002 "memberOf" : "Roo.bootstrap.Button",
1010 "type" : "Roo.bootstrap.Button",
1012 "isOptional" : false
1016 "type" : "Roo.EventObject",
1018 "isOptional" : false
1023 "desc" : "(also available as button.pressed)",
1024 "isOptional" : false
1031 "desc" : "When a butotn is pressed",
1032 "memberOf" : "Roo.bootstrap.Button",
1040 "type" : "Roo.bootstrap.Button",
1042 "isOptional" : false
1046 "type" : "Roo.EventObject",
1048 "isOptional" : false
1054 "name" : "childrenrendered",
1055 "desc" : "Fires when the children have been rendered..",
1056 "memberOf" : "Roo.bootstrap.Component",
1064 "type" : "Roo.bootstrap.Component",
1066 "isOptional" : false
1072 "name" : "beforerender",
1073 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1074 "memberOf" : "Roo.Component",
1082 "type" : "Roo.Component",
1084 "isOptional" : false
1091 "desc" : "Fires after the component is disabled.",
1092 "memberOf" : "Roo.Component",
1100 "type" : "Roo.Component",
1102 "isOptional" : false
1109 "desc" : "Fires after the component is rendered.",
1110 "memberOf" : "Roo.Component",
1118 "type" : "Roo.Component",
1120 "isOptional" : false
1127 "desc" : "Fires after the component is destroyed.",
1128 "memberOf" : "Roo.Component",
1136 "type" : "Roo.Component",
1138 "isOptional" : false
1145 "desc" : "Fires after the component is hidden.",
1146 "memberOf" : "Roo.Component",
1154 "type" : "Roo.Component",
1156 "isOptional" : false
1162 "name" : "beforehide",
1163 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1164 "memberOf" : "Roo.Component",
1172 "type" : "Roo.Component",
1174 "isOptional" : false
1181 "desc" : "Fires after the component is shown.",
1182 "memberOf" : "Roo.Component",
1190 "type" : "Roo.Component",
1192 "isOptional" : false
1198 "name" : "beforeshow",
1199 "desc" : "Fires before the component is shown. Return false to stop the show.",
1200 "memberOf" : "Roo.Component",
1208 "type" : "Roo.Component",
1210 "isOptional" : false
1217 "desc" : "Fires after the component is enabled.",
1218 "memberOf" : "Roo.Component",
1226 "type" : "Roo.Component",
1228 "isOptional" : false
1234 "name" : "beforedestroy",
1235 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1236 "memberOf" : "Roo.Component",
1244 "type" : "Roo.Component",
1246 "isOptional" : false