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",
549 "name" : "initEvents",
550 "desc" : "Initialize Events for the element",
552 "isConstructor" : false,
554 "memberOf" : "Roo.bootstrap.Component",
565 "name" : "getChildContainer",
566 "desc" : "Fetch the element to add children to",
568 "isConstructor" : false,
570 "memberOf" : "Roo.bootstrap.Component",
580 "type" : "Roo.Element",
581 "desc" : "defaults to this.el"
587 "desc" : "Returns the id of this component.",
589 "isConstructor" : false,
591 "memberOf" : "Roo.Component",
608 "desc" : "If this is a lazy rendering component, render it to its container element.",
610 "isConstructor" : false,
612 "memberOf" : "Roo.Component",
619 "name" : "container",
620 "type" : "String/HTMLElement/Element",
621 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
630 "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}.",
632 "isConstructor" : false,
634 "memberOf" : "Roo.Component",
645 "name" : "isVisible",
646 "desc" : "Returns true if this component is visible.",
648 "isConstructor" : false,
650 "memberOf" : "Roo.Component",
661 "name" : "setDisabled",
662 "desc" : "Convenience function for setting disabled/enabled by boolean.",
664 "isConstructor" : false,
666 "memberOf" : "Roo.Component",
684 "desc" : "Try to focus this component.",
686 "isConstructor" : false,
688 "memberOf" : "Roo.Component",
695 "name" : "selectText",
697 "desc" : "True to also select the text in this component (if applicable)",
704 "type" : "Roo.Component",
710 "name" : "setVisible",
711 "desc" : "Convenience function to hide or show this component by boolean.",
713 "isConstructor" : false,
715 "memberOf" : "Roo.Component",
724 "desc" : "True to show, false to hide",
731 "type" : "Roo.Component",
738 "desc" : "Returns the underlying {@link Roo.Element}.",
740 "isConstructor" : false,
742 "memberOf" : "Roo.Component",
752 "type" : "Roo.Element",
753 "desc" : "The element"
758 "name" : "purgeListeners",
759 "desc" : "Removes all listeners for this object",
761 "isConstructor" : false,
763 "memberOf" : "Roo.util.Observable",
775 "desc" : "Appends an event handler to this element (shorthand for addListener)",
777 "isConstructor" : false,
779 "memberOf" : "Roo.util.Observable",
786 "name" : "eventName",
788 "desc" : "The type of event to listen for",
794 "desc" : "The method the event invokes",
800 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
806 "desc" : "(optional)",
815 "desc" : "Removes a listener (shorthand for removeListener)",
817 "isConstructor" : false,
819 "memberOf" : "Roo.util.Observable",
826 "name" : "eventName",
828 "desc" : "The type of event to listen for",
834 "desc" : "The handler to remove",
840 "desc" : "(optional) The scope (this object) for the handler",
848 "name" : "addEvents",
849 "desc" : "Used to define events on this Observable",
851 "isConstructor" : false,
853 "memberOf" : "Roo.util.Observable",
862 "desc" : "The object with the events defined",
870 "name" : "releaseCapture",
871 "desc" : "Removes <b>all</b> added captures from the Observable.",
873 "isConstructor" : false,
875 "memberOf" : "Roo.util.Observable",
883 "type" : "Observable",
884 "desc" : "The Observable to release",
892 "name" : "removeListener",
893 "desc" : "Removes a listener",
895 "isConstructor" : false,
897 "memberOf" : "Roo.util.Observable",
904 "name" : "eventName",
906 "desc" : "The type of event to listen for",
912 "desc" : "The handler to remove",
918 "desc" : "(optional) The scope (this object) for the handler",
926 "name" : "fireEvent",
927 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
929 "isConstructor" : false,
931 "memberOf" : "Roo.util.Observable",
938 "name" : "eventName",
945 "type" : "Object...",
946 "desc" : "Variable number of parameters are passed to handlers",
954 "desc" : "returns false if any of the handlers return false otherwise it returns true"
959 "name" : "hasListener",
960 "desc" : "Checks to see if this object has any listeners for a specified event",
962 "isConstructor" : false,
964 "memberOf" : "Roo.util.Observable",
971 "name" : "eventName",
973 "desc" : "The name of the event to check for",
981 "desc" : "True if the event is being listened for, else false"
987 "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.",
989 "isConstructor" : false,
991 "memberOf" : "Roo.util.Observable",
999 "type" : "Observable",
1000 "desc" : "The Observable to capture",
1001 "isOptional" : false
1005 "type" : "Function",
1006 "desc" : "The function to call",
1007 "isOptional" : false
1012 "desc" : "(optional) The scope (this object) for the fn",
1013 "isOptional" : false
1020 "name" : "addListener",
1021 "desc" : "Appends an event handler to this component",
1023 "isConstructor" : false,
1024 "isPrivate" : false,
1025 "memberOf" : "Roo.util.Observable",
1032 "name" : "eventName",
1034 "desc" : "The type of event to listen for",
1035 "isOptional" : false
1039 "type" : "Function",
1040 "desc" : "The method the event invokes",
1041 "isOptional" : false
1046 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1047 "isOptional" : false
1052 "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>",
1053 "isOptional" : false
1063 "desc" : "After the button has been toggles",
1064 "memberOf" : "Roo.bootstrap.Button",
1072 "type" : "Roo.bootstrap.Button",
1074 "isOptional" : false
1078 "type" : "Roo.EventObject",
1080 "isOptional" : false
1085 "desc" : "(also available as button.pressed)",
1086 "isOptional" : false
1094 "desc" : "When a butotn is pressed",
1095 "memberOf" : "Roo.bootstrap.Button",
1103 "type" : "Roo.bootstrap.Button",
1105 "isOptional" : false
1109 "type" : "Roo.EventObject",
1111 "isOptional" : false
1118 "name" : "childrenrendered",
1119 "desc" : "Fires when the children have been rendered..",
1120 "memberOf" : "Roo.bootstrap.Component",
1128 "type" : "Roo.bootstrap.Component",
1130 "isOptional" : false
1137 "name" : "beforerender",
1138 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1139 "memberOf" : "Roo.Component",
1147 "type" : "Roo.Component",
1149 "isOptional" : false
1157 "desc" : "Fires after the component is disabled.",
1158 "memberOf" : "Roo.Component",
1166 "type" : "Roo.Component",
1168 "isOptional" : false
1176 "desc" : "Fires after the component is rendered.",
1177 "memberOf" : "Roo.Component",
1185 "type" : "Roo.Component",
1187 "isOptional" : false
1195 "desc" : "Fires after the component is destroyed.",
1196 "memberOf" : "Roo.Component",
1204 "type" : "Roo.Component",
1206 "isOptional" : false
1214 "desc" : "Fires after the component is hidden.",
1215 "memberOf" : "Roo.Component",
1223 "type" : "Roo.Component",
1225 "isOptional" : false
1232 "name" : "beforehide",
1233 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1234 "memberOf" : "Roo.Component",
1242 "type" : "Roo.Component",
1244 "isOptional" : false
1252 "desc" : "Fires after the component is shown.",
1253 "memberOf" : "Roo.Component",
1261 "type" : "Roo.Component",
1263 "isOptional" : false
1270 "name" : "beforeshow",
1271 "desc" : "Fires before the component is shown. Return false to stop the show.",
1272 "memberOf" : "Roo.Component",
1280 "type" : "Roo.Component",
1282 "isOptional" : false
1290 "desc" : "Fires after the component is enabled.",
1291 "memberOf" : "Roo.Component",
1299 "type" : "Roo.Component",
1301 "isOptional" : false
1308 "name" : "beforedestroy",
1309 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1310 "memberOf" : "Roo.Component",
1318 "type" : "Roo.Component",
1320 "isOptional" : false