2 "name" : "Roo.bootstrap.Button",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Button class",
12 "memberOf" : "Button",
21 "desc" : "The config object",
31 "desc" : "is it a slidy toggle button",
32 "memberOf" : "Roo.bootstrap.Button",
39 "desc" : "dark themed version",
40 "memberOf" : "Roo.bootstrap.Button",
47 "desc" : "text for badge",
48 "memberOf" : "Roo.bootstrap.Button",
55 "desc" : "How this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
56 "memberOf" : "Roo.Component",
65 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
66 "memberOf" : "Roo.bootstrap.Component",
73 "desc" : "default false;",
74 "memberOf" : "Roo.bootstrap.Button",
81 "desc" : "Specifies name attribute",
82 "memberOf" : "Roo.bootstrap.Component",
90 "memberOf" : "Roo.bootstrap.Button",
105 "desc" : "Text for the tooltip",
106 "memberOf" : "Roo.bootstrap.Component",
113 "desc" : "text for on slidy toggle state",
114 "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",
130 "memberOf" : "Roo.bootstrap.Button",
139 "desc" : "target for a href. (_self|_blank|_parent|_top| other)",
140 "memberOf" : "Roo.bootstrap.Button",
145 "name" : "glyphicon",
147 "desc" : "depricated - use fa",
148 "memberOf" : "Roo.bootstrap.Button",
153 "name" : "allowDomMove",
155 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
156 "memberOf" : "Roo.Component",
163 "desc" : "any extra css",
164 "memberOf" : "Roo.bootstrap.Component",
171 "desc" : "default false;",
172 "memberOf" : "Roo.bootstrap.Button",
177 "name" : "actionMode",
179 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
180 "memberOf" : "Roo.Component",
185 "name" : "listeners",
187 "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>",
188 "memberOf" : "Roo.util.Observable",
193 "name" : "container_method",
195 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
196 "memberOf" : "Roo.bootstrap.Component",
203 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
204 "memberOf" : "Roo.bootstrap.Button",
212 "memberOf" : "Roo.bootstrap.Button",
222 "desc" : "css class",
223 "memberOf" : "Roo.bootstrap.Component",
228 "name" : "badge_weight",
230 "desc" : "default (same as button)",
231 "memberOf" : "Roo.bootstrap.Button",
244 "name" : "can_build_overlaid",
246 "desc" : "True if element can be rebuild from a HTML page",
247 "memberOf" : "Roo.bootstrap.Component",
252 "name" : "disableClass",
254 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
255 "memberOf" : "Roo.Component",
260 "name" : "visibilityEl",
261 "type" : "string|object",
262 "desc" : "What element to use for visibility (@see getVisibilityEl())",
263 "memberOf" : "Roo.bootstrap.Component",
272 "desc" : "empty or href",
273 "memberOf" : "Roo.bootstrap.Button",
281 "memberOf" : "Roo.bootstrap.Button",
291 "desc" : "cutomer id",
292 "memberOf" : "Roo.bootstrap.Component",
299 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
300 "memberOf" : "Roo.bootstrap.Button",
307 "desc" : "text for off slidy toggle state",
308 "memberOf" : "Roo.bootstrap.Button",
313 "name" : "removeClass",
315 "desc" : "remove the standard class..",
316 "memberOf" : "Roo.bootstrap.Button",
323 "desc" : "The button content",
324 "memberOf" : "Roo.bootstrap.Button",
331 "desc" : "default null - if the button ahs active state",
332 "memberOf" : "Roo.bootstrap.Button",
342 "desc" : "set the text of the first selected button",
344 "isConstructor" : false,
346 "memberOf" : "Roo.bootstrap.Button",
358 "desc" : "get the current active state",
360 "isConstructor" : false,
362 "memberOf" : "Roo.bootstrap.Button",
373 "desc" : "true if it's active"
378 "name" : "setActive",
379 "desc" : "sets the active state on/off,",
381 "isConstructor" : false,
383 "memberOf" : "Roo.bootstrap.Button",
392 "desc" : "(optional) Force a particular state",
400 "name" : "toggleActive",
401 "desc" : "toggles the current active state",
403 "isConstructor" : false,
405 "memberOf" : "Roo.bootstrap.Button",
417 "desc" : "get the text of the first selected button",
419 "isConstructor" : false,
421 "memberOf" : "Roo.bootstrap.Button",
433 "desc" : "Enables this button",
435 "isConstructor" : false,
437 "memberOf" : "Roo.bootstrap.Button",
449 "desc" : "Disable this button",
451 "isConstructor" : false,
453 "memberOf" : "Roo.bootstrap.Button",
464 "name" : "tooltipEl",
465 "desc" : "Fetch the element to display the tooltip on.",
467 "isConstructor" : false,
469 "memberOf" : "Roo.bootstrap.Component",
479 "type" : "Roo.Element",
480 "desc" : "defaults to this.el"
486 "desc" : "Hide a component - adds 'hidden' class",
488 "isConstructor" : false,
490 "memberOf" : "Roo.bootstrap.Component",
502 "desc" : "Show a component - removes 'hidden' class",
504 "isConstructor" : false,
506 "memberOf" : "Roo.bootstrap.Component",
517 "name" : "setVisibilityEl",
518 "desc" : "Set the element that will be used to show or hide",
520 "isConstructor" : false,
522 "memberOf" : "Roo.bootstrap.Component",
533 "name" : "getVisibilityEl",
534 "desc" : "Get the element that will be used to show or hide",
536 "isConstructor" : false,
538 "memberOf" : "Roo.bootstrap.Component",
550 "desc" : "This is really a wrapper for addxtypeChild\nit handles stuff relating to flexy:foreach / flexy:if\n= some of our projects use a flat rendering of the output, and try and overlay it with dynamic data.\n -- this is a bit of a nightmare... and is even more confusing to debug..",
552 "isConstructor" : false,
554 "memberOf" : "Roo.bootstrap.Component",
565 "name" : "addxtypeChild",
566 "desc" : "add a child to this element\n - turn the child.cfg into a child_instance\n - call child_instance.render( this { getContainerMethod()} )\n - loop through the children, and call addxtype.. (reall this) on newly created child.",
568 "isConstructor" : false,
570 "memberOf" : "Roo.bootstrap.Component",
581 "name" : "initEvents",
582 "desc" : "Initialize Events for the element",
584 "isConstructor" : false,
586 "memberOf" : "Roo.bootstrap.Component",
597 "name" : "getChildContainer",
598 "desc" : "Fetch the element to add children to",
600 "isConstructor" : false,
602 "memberOf" : "Roo.bootstrap.Component",
612 "type" : "Roo.Element",
613 "desc" : "defaults to this.el"
618 "name" : "addxtypeChildren",
619 "desc" : "add a number of children to this object,\n which in turn calls render...",
621 "isConstructor" : false,
623 "memberOf" : "Roo.bootstrap.Component",
635 "desc" : "Returns the id of this component.",
637 "isConstructor" : false,
639 "memberOf" : "Roo.Component",
656 "desc" : "If this is a lazy rendering component, render it to its container element.",
658 "isConstructor" : false,
660 "memberOf" : "Roo.Component",
667 "name" : "container",
668 "type" : "String/HTMLElement/Element",
669 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
678 "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}.",
680 "isConstructor" : false,
682 "memberOf" : "Roo.Component",
693 "name" : "isVisible",
694 "desc" : "Returns true if this component is visible.",
696 "isConstructor" : false,
698 "memberOf" : "Roo.Component",
709 "name" : "setDisabled",
710 "desc" : "Convenience function for setting disabled/enabled by boolean.",
712 "isConstructor" : false,
714 "memberOf" : "Roo.Component",
732 "desc" : "Try to focus this component.",
734 "isConstructor" : false,
736 "memberOf" : "Roo.Component",
743 "name" : "selectText",
745 "desc" : "True to also select the text in this component (if applicable)",
752 "type" : "Roo.Component",
758 "name" : "setVisible",
759 "desc" : "Convenience function to hide or show this component by boolean.",
761 "isConstructor" : false,
763 "memberOf" : "Roo.Component",
772 "desc" : "True to show, false to hide",
779 "type" : "Roo.Component",
786 "desc" : "Returns the underlying {@link Roo.Element}.",
788 "isConstructor" : false,
790 "memberOf" : "Roo.Component",
800 "type" : "Roo.Element",
801 "desc" : "The element"
806 "name" : "purgeListeners",
807 "desc" : "Removes all listeners for this object",
809 "isConstructor" : false,
811 "memberOf" : "Roo.util.Observable",
823 "desc" : "Appends an event handler to this element (shorthand for addListener)",
825 "isConstructor" : false,
827 "memberOf" : "Roo.util.Observable",
834 "name" : "eventName",
836 "desc" : "The type of event to listen for",
842 "desc" : "The method the event invokes",
848 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
854 "desc" : "(optional)",
863 "desc" : "Removes a listener (shorthand for removeListener)",
865 "isConstructor" : false,
867 "memberOf" : "Roo.util.Observable",
874 "name" : "eventName",
876 "desc" : "The type of event to listen for",
882 "desc" : "The handler to remove",
888 "desc" : "(optional) The scope (this object) for the handler",
896 "name" : "addEvents",
897 "desc" : "Used to define events on this Observable",
899 "isConstructor" : false,
901 "memberOf" : "Roo.util.Observable",
910 "desc" : "The object with the events defined",
918 "name" : "releaseCapture",
919 "desc" : "Removes <b>all</b> added captures from the Observable.",
921 "isConstructor" : false,
923 "memberOf" : "Roo.util.Observable",
931 "type" : "Observable",
932 "desc" : "The Observable to release",
940 "name" : "removeListener",
941 "desc" : "Removes a listener",
943 "isConstructor" : false,
945 "memberOf" : "Roo.util.Observable",
952 "name" : "eventName",
954 "desc" : "The type of event to listen for",
960 "desc" : "The handler to remove",
966 "desc" : "(optional) The scope (this object) for the handler",
974 "name" : "fireEvent",
975 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
977 "isConstructor" : false,
979 "memberOf" : "Roo.util.Observable",
986 "name" : "eventName",
993 "type" : "Object...",
994 "desc" : "Variable number of parameters are passed to handlers",
1002 "desc" : "returns false if any of the handlers return false otherwise it returns true"
1007 "name" : "hasListener",
1008 "desc" : "Checks to see if this object has any listeners for a specified event",
1010 "isConstructor" : false,
1011 "isPrivate" : false,
1012 "memberOf" : "Roo.util.Observable",
1019 "name" : "eventName",
1021 "desc" : "The name of the event to check for",
1022 "isOptional" : false
1029 "desc" : "True if the event is being listened for, else false"
1035 "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.",
1037 "isConstructor" : false,
1038 "isPrivate" : false,
1039 "memberOf" : "Roo.util.Observable",
1047 "type" : "Observable",
1048 "desc" : "The Observable to capture",
1049 "isOptional" : false
1053 "type" : "Function",
1054 "desc" : "The function to call",
1055 "isOptional" : false
1060 "desc" : "(optional) The scope (this object) for the fn",
1061 "isOptional" : false
1068 "name" : "addListener",
1069 "desc" : "Appends an event handler to this component",
1071 "isConstructor" : false,
1072 "isPrivate" : false,
1073 "memberOf" : "Roo.util.Observable",
1080 "name" : "eventName",
1082 "desc" : "The type of event to listen for",
1083 "isOptional" : false
1087 "type" : "Function",
1088 "desc" : "The method the event invokes",
1089 "isOptional" : false
1094 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1095 "isOptional" : false
1100 "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>",
1101 "isOptional" : false
1111 "desc" : "After the button has been toggles",
1112 "memberOf" : "Roo.bootstrap.Button",
1120 "type" : "Roo.bootstrap.Button",
1122 "isOptional" : false
1126 "type" : "Roo.EventObject",
1128 "isOptional" : false
1133 "desc" : "(also available as button.pressed)",
1134 "isOptional" : false
1142 "desc" : "When a butotn is pressed",
1143 "memberOf" : "Roo.bootstrap.Button",
1151 "type" : "Roo.bootstrap.Button",
1153 "isOptional" : false
1157 "type" : "Roo.EventObject",
1159 "isOptional" : false
1166 "name" : "childrenrendered",
1167 "desc" : "Fires when the children have been rendered..",
1168 "memberOf" : "Roo.bootstrap.Component",
1176 "type" : "Roo.bootstrap.Component",
1178 "isOptional" : false
1185 "name" : "beforerender",
1186 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1187 "memberOf" : "Roo.Component",
1195 "type" : "Roo.Component",
1197 "isOptional" : false
1205 "desc" : "Fires after the component is disabled.",
1206 "memberOf" : "Roo.Component",
1214 "type" : "Roo.Component",
1216 "isOptional" : false
1224 "desc" : "Fires after the component is rendered.",
1225 "memberOf" : "Roo.Component",
1233 "type" : "Roo.Component",
1235 "isOptional" : false
1243 "desc" : "Fires after the component is destroyed.",
1244 "memberOf" : "Roo.Component",
1252 "type" : "Roo.Component",
1254 "isOptional" : false
1262 "desc" : "Fires after the component is hidden.",
1263 "memberOf" : "Roo.Component",
1271 "type" : "Roo.Component",
1273 "isOptional" : false
1280 "name" : "beforehide",
1281 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1282 "memberOf" : "Roo.Component",
1290 "type" : "Roo.Component",
1292 "isOptional" : false
1300 "desc" : "Fires after the component is shown.",
1301 "memberOf" : "Roo.Component",
1309 "type" : "Roo.Component",
1311 "isOptional" : false
1318 "name" : "beforeshow",
1319 "desc" : "Fires before the component is shown. Return false to stop the show.",
1320 "memberOf" : "Roo.Component",
1328 "type" : "Roo.Component",
1330 "isOptional" : false
1338 "desc" : "Fires after the component is enabled.",
1339 "memberOf" : "Roo.Component",
1347 "type" : "Roo.Component",
1349 "isOptional" : false
1356 "name" : "beforedestroy",
1357 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1358 "memberOf" : "Roo.Component",
1366 "type" : "Roo.Component",
1368 "isOptional" : false