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" : "if parent is a btn group - then it turns it into a toogleGroup.",
101 "memberOf" : "Roo.bootstrap.Button",
107 "desc" : "Text for the tooltip",
108 "memberOf" : "Roo.bootstrap.Component",
114 "desc" : "text for on slidy toggle state",
115 "memberOf" : "Roo.bootstrap.Button",
119 "name" : "preventDefault",
121 "desc" : "default true (stop click event triggering the URL if it's a link.)",
122 "memberOf" : "Roo.bootstrap.Button",
129 "memberOf" : "Roo.bootstrap.Button",
138 "desc" : "r) target for a href.",
139 "memberOf" : "Roo.bootstrap.Button",
149 "name" : "glyphicon",
151 "desc" : "depricated - use fa",
152 "memberOf" : "Roo.bootstrap.Button",
156 "name" : "allowDomMove",
158 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
159 "memberOf" : "Roo.Component",
165 "desc" : "any extra css",
166 "memberOf" : "Roo.bootstrap.Component",
172 "desc" : "default false;",
173 "memberOf" : "Roo.bootstrap.Button",
177 "name" : "actionMode",
179 "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",
180 "memberOf" : "Roo.Component",
184 "name" : "listeners",
186 "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>",
187 "memberOf" : "Roo.util.Observable",
191 "name" : "container_method",
193 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
194 "memberOf" : "Roo.bootstrap.Component",
200 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
201 "memberOf" : "Roo.bootstrap.Button",
208 "memberOf" : "Roo.bootstrap.Button",
218 "desc" : "css class",
219 "memberOf" : "Roo.bootstrap.Component",
223 "name" : "badge_weight",
225 "desc" : "k) default (same as button)",
226 "memberOf" : "Roo.bootstrap.Button",
241 "name" : "can_build_overlaid",
243 "desc" : "True if element can be rebuild from a HTML page",
244 "memberOf" : "Roo.bootstrap.Component",
248 "name" : "disableClass",
250 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
251 "memberOf" : "Roo.Component",
255 "name" : "visibilityEl",
256 "type" : "string|object",
257 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
258 "memberOf" : "Roo.bootstrap.Component",
267 "desc" : "empty or href",
268 "memberOf" : "Roo.bootstrap.Button",
275 "memberOf" : "Roo.bootstrap.Button",
285 "desc" : "cutomer id",
286 "memberOf" : "Roo.bootstrap.Component",
292 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
293 "memberOf" : "Roo.bootstrap.Button",
299 "desc" : "text for off slidy toggle state",
300 "memberOf" : "Roo.bootstrap.Button",
304 "name" : "removeClass",
306 "desc" : "remove the standard class..",
307 "memberOf" : "Roo.bootstrap.Button",
313 "desc" : "The button content",
314 "memberOf" : "Roo.bootstrap.Button",
320 "desc" : "default null - if the button ahs active state",
321 "memberOf" : "Roo.bootstrap.Button",
328 "desc" : "set the text of the first selected button",
330 "isConstructor" : false,
332 "memberOf" : "Roo.bootstrap.Button",
342 "desc" : "get the current active state",
344 "isConstructor" : false,
346 "memberOf" : "Roo.bootstrap.Button",
356 "desc" : "true if it's active"
361 "name" : "setActive",
362 "desc" : "sets the active state on/off,",
364 "isConstructor" : false,
366 "memberOf" : "Roo.bootstrap.Button",
375 "desc" : "(optional) Force a particular state",
382 "name" : "toggleActive",
383 "desc" : "toggles the current active state",
385 "isConstructor" : false,
387 "memberOf" : "Roo.bootstrap.Button",
397 "desc" : "get the text of the first selected button",
399 "isConstructor" : false,
401 "memberOf" : "Roo.bootstrap.Button",
411 "desc" : "Enables this button",
413 "isConstructor" : false,
415 "memberOf" : "Roo.bootstrap.Button",
425 "desc" : "Disable this button",
427 "isConstructor" : false,
429 "memberOf" : "Roo.bootstrap.Button",
438 "name" : "tooltipEl",
439 "desc" : "Fetch the element to display the tooltip on.",
441 "isConstructor" : false,
443 "memberOf" : "Roo.bootstrap.Component",
452 "type" : "Roo.Element",
453 "desc" : "defaults to this.el"
459 "desc" : "Hide a component - adds 'hidden' class",
461 "isConstructor" : false,
463 "memberOf" : "Roo.bootstrap.Component",
473 "desc" : "Show a component - removes 'hidden' class",
475 "isConstructor" : false,
477 "memberOf" : "Roo.bootstrap.Component",
486 "name" : "setVisibilityEl",
487 "desc" : "Set the element that will be used to show or hide",
489 "isConstructor" : false,
491 "memberOf" : "Roo.bootstrap.Component",
500 "name" : "getVisibilityEl",
501 "desc" : "Get the element that will be used to show or hide",
503 "isConstructor" : false,
505 "memberOf" : "Roo.bootstrap.Component",
514 "name" : "initEvents",
515 "desc" : "Initialize Events for the element",
517 "isConstructor" : false,
519 "memberOf" : "Roo.bootstrap.Component",
528 "name" : "getChildContainer",
529 "desc" : "Fetch the element to add children to",
531 "isConstructor" : false,
533 "memberOf" : "Roo.bootstrap.Component",
542 "type" : "Roo.Element",
543 "desc" : "defaults to this.el"
549 "desc" : "Returns the id of this component.",
551 "isConstructor" : false,
553 "memberOf" : "Roo.Component",
569 "desc" : "If this is a lazy rendering component, render it to its container element.",
571 "isConstructor" : false,
573 "memberOf" : "Roo.Component",
580 "name" : "container",
581 "type" : "String/HTMLElement/Element",
582 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
590 "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}.",
592 "isConstructor" : false,
594 "memberOf" : "Roo.Component",
603 "name" : "isVisible",
604 "desc" : "Returns true if this component is visible.",
606 "isConstructor" : false,
608 "memberOf" : "Roo.Component",
617 "name" : "setDisabled",
618 "desc" : "Convenience function for setting disabled/enabled by boolean.",
620 "isConstructor" : false,
622 "memberOf" : "Roo.Component",
639 "desc" : "Try to focus this component.",
641 "isConstructor" : false,
643 "memberOf" : "Roo.Component",
650 "name" : "selectText",
652 "desc" : "True to also select the text in this component (if applicable)",
659 "type" : "Roo.Component",
665 "name" : "setVisible",
666 "desc" : "Convenience function to hide or show this component by boolean.",
668 "isConstructor" : false,
670 "memberOf" : "Roo.Component",
679 "desc" : "True to show, false to hide",
686 "type" : "Roo.Component",
693 "desc" : "Returns the underlying {@link Roo.Element}.",
695 "isConstructor" : false,
697 "memberOf" : "Roo.Component",
706 "type" : "Roo.Element",
707 "desc" : "The element"
712 "name" : "purgeListeners",
713 "desc" : "Removes all listeners for this object",
715 "isConstructor" : false,
717 "memberOf" : "Roo.util.Observable",
727 "desc" : "Appends an event handler to this element (shorthand for addListener)",
729 "isConstructor" : false,
731 "memberOf" : "Roo.util.Observable",
738 "name" : "eventName",
740 "desc" : "The type of event to listen for",
746 "desc" : "The method the event invokes",
752 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
758 "desc" : "(optional)",
766 "desc" : "Removes a listener (shorthand for removeListener)",
768 "isConstructor" : false,
770 "memberOf" : "Roo.util.Observable",
777 "name" : "eventName",
779 "desc" : "The type of event to listen for",
785 "desc" : "The handler to remove",
791 "desc" : "(optional) The scope (this object) for the handler",
798 "name" : "addEvents",
799 "desc" : "Used to define events on this Observable",
801 "isConstructor" : false,
803 "memberOf" : "Roo.util.Observable",
812 "desc" : "The object with the events defined",
819 "name" : "releaseCapture",
820 "desc" : "Removes <b>all</b> added captures from the Observable.",
822 "isConstructor" : false,
824 "memberOf" : "Roo.util.Observable",
832 "type" : "Observable",
833 "desc" : "The Observable to release",
840 "name" : "removeListener",
841 "desc" : "Removes a listener",
843 "isConstructor" : false,
845 "memberOf" : "Roo.util.Observable",
852 "name" : "eventName",
854 "desc" : "The type of event to listen for",
860 "desc" : "The handler to remove",
866 "desc" : "(optional) The scope (this object) for the handler",
873 "name" : "fireEvent",
874 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
876 "isConstructor" : false,
878 "memberOf" : "Roo.util.Observable",
885 "name" : "eventName",
892 "type" : "Object...",
893 "desc" : "Variable number of parameters are passed to handlers",
901 "desc" : "returns false if any of the handlers return false otherwise it returns true"
906 "name" : "hasListener",
907 "desc" : "Checks to see if this object has any listeners for a specified event",
909 "isConstructor" : false,
911 "memberOf" : "Roo.util.Observable",
918 "name" : "eventName",
920 "desc" : "The name of the event to check for",
928 "desc" : "True if the event is being listened for, else false"
934 "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.",
936 "isConstructor" : false,
938 "memberOf" : "Roo.util.Observable",
946 "type" : "Observable",
947 "desc" : "The Observable to capture",
953 "desc" : "The function to call",
959 "desc" : "(optional) The scope (this object) for the fn",
966 "name" : "addListener",
967 "desc" : "Appends an event handler to this component",
969 "isConstructor" : false,
971 "memberOf" : "Roo.util.Observable",
978 "name" : "eventName",
980 "desc" : "The type of event to listen for",
986 "desc" : "The method the event invokes",
992 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
998 "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>",
1008 "desc" : "After the button has been toggles",
1009 "memberOf" : "Roo.bootstrap.Button",
1017 "type" : "Roo.bootstrap.Button",
1019 "isOptional" : false
1023 "type" : "Roo.EventObject",
1025 "isOptional" : false
1030 "desc" : "(also available as button.pressed)",
1031 "isOptional" : false
1037 "name" : "dblclick",
1038 "desc" : "When a button is double clicked",
1039 "memberOf" : "Roo.bootstrap.Button",
1047 "type" : "Roo.bootstrap.Button",
1049 "isOptional" : false
1053 "type" : "Roo.EventObject",
1055 "isOptional" : false
1062 "desc" : "When a button is pressed",
1063 "memberOf" : "Roo.bootstrap.Button",
1071 "type" : "Roo.bootstrap.Button",
1073 "isOptional" : false
1077 "type" : "Roo.EventObject",
1079 "isOptional" : false
1085 "name" : "childrenrendered",
1086 "desc" : "Fires when the children have been rendered..",
1087 "memberOf" : "Roo.bootstrap.Component",
1095 "type" : "Roo.bootstrap.Component",
1097 "isOptional" : false
1103 "name" : "beforerender",
1104 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1105 "memberOf" : "Roo.Component",
1113 "type" : "Roo.Component",
1115 "isOptional" : false
1122 "desc" : "Fires after the component is disabled.",
1123 "memberOf" : "Roo.Component",
1131 "type" : "Roo.Component",
1133 "isOptional" : false
1140 "desc" : "Fires after the component is rendered.",
1141 "memberOf" : "Roo.Component",
1149 "type" : "Roo.Component",
1151 "isOptional" : false
1158 "desc" : "Fires after the component is destroyed.",
1159 "memberOf" : "Roo.Component",
1167 "type" : "Roo.Component",
1169 "isOptional" : false
1176 "desc" : "Fires after the component is hidden.",
1177 "memberOf" : "Roo.Component",
1185 "type" : "Roo.Component",
1187 "isOptional" : false
1193 "name" : "beforehide",
1194 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1195 "memberOf" : "Roo.Component",
1203 "type" : "Roo.Component",
1205 "isOptional" : false
1212 "desc" : "Fires after the component is shown.",
1213 "memberOf" : "Roo.Component",
1221 "type" : "Roo.Component",
1223 "isOptional" : false
1229 "name" : "beforeshow",
1230 "desc" : "Fires before the component is shown. Return false to stop the show.",
1231 "memberOf" : "Roo.Component",
1239 "type" : "Roo.Component",
1241 "isOptional" : false
1248 "desc" : "Fires after the component is enabled.",
1249 "memberOf" : "Roo.Component",
1257 "type" : "Roo.Component",
1259 "isOptional" : false
1265 "name" : "beforedestroy",
1266 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1267 "memberOf" : "Roo.Component",
1275 "type" : "Roo.Component",
1277 "isOptional" : false