2 "name" : "Roo.bootstrap.Button",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Button class",
16 "desc" : "is it a slidy toggle button",
17 "memberOf" : "Roo.bootstrap.Button",
24 "desc" : "dark themed version",
25 "memberOf" : "Roo.bootstrap.Button",
32 "desc" : "text for badge",
33 "memberOf" : "Roo.bootstrap.Button",
40 "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\".",
41 "memberOf" : "Roo.Component",
50 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
51 "memberOf" : "Roo.bootstrap.Component",
58 "desc" : "default false;",
59 "memberOf" : "Roo.bootstrap.Button",
66 "desc" : "Specifies name attribute",
67 "memberOf" : "Roo.bootstrap.Component",
75 "memberOf" : "Roo.bootstrap.Button",
90 "desc" : "Text for the tooltip",
91 "memberOf" : "Roo.bootstrap.Component",
98 "desc" : "text for on slidy toggle state",
99 "memberOf" : "Roo.bootstrap.Button",
104 "name" : "preventDefault",
106 "desc" : "default true (stop click event triggering the URL if it's a link.)",
107 "memberOf" : "Roo.bootstrap.Button",
115 "memberOf" : "Roo.bootstrap.Button",
124 "desc" : "target for a href. (_self|_blank|_parent|_top| other)",
125 "memberOf" : "Roo.bootstrap.Button",
130 "name" : "glyphicon",
132 "desc" : "depricated - use fa",
133 "memberOf" : "Roo.bootstrap.Button",
138 "name" : "allowDomMove",
140 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
141 "memberOf" : "Roo.Component",
148 "desc" : "any extra css",
149 "memberOf" : "Roo.bootstrap.Component",
156 "desc" : "default false;",
157 "memberOf" : "Roo.bootstrap.Button",
162 "name" : "actionMode",
164 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
165 "memberOf" : "Roo.Component",
170 "name" : "listeners",
172 "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>",
173 "memberOf" : "Roo.util.Observable",
178 "name" : "container_method",
180 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
181 "memberOf" : "Roo.bootstrap.Component",
188 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
189 "memberOf" : "Roo.bootstrap.Button",
197 "memberOf" : "Roo.bootstrap.Button",
207 "desc" : "css class",
208 "memberOf" : "Roo.bootstrap.Component",
213 "name" : "badge_weight",
215 "desc" : "default (same as button)",
216 "memberOf" : "Roo.bootstrap.Button",
229 "name" : "can_build_overlaid",
231 "desc" : "True if element can be rebuild from a HTML page",
232 "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",
245 "name" : "visibilityEl",
246 "type" : "string|object",
247 "desc" : "What element to use for visibility (@see getVisibilityEl())",
248 "memberOf" : "Roo.bootstrap.Component",
257 "desc" : "empty or href",
258 "memberOf" : "Roo.bootstrap.Button",
266 "memberOf" : "Roo.bootstrap.Button",
276 "desc" : "cutomer id",
277 "memberOf" : "Roo.bootstrap.Component",
284 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
285 "memberOf" : "Roo.bootstrap.Button",
292 "desc" : "text for off slidy toggle state",
293 "memberOf" : "Roo.bootstrap.Button",
298 "name" : "removeClass",
300 "desc" : "remove the standard class..",
301 "memberOf" : "Roo.bootstrap.Button",
308 "desc" : "The button content",
309 "memberOf" : "Roo.bootstrap.Button",
316 "desc" : "default null - if the button ahs active state",
317 "memberOf" : "Roo.bootstrap.Button",
327 "desc" : "set the text of the first selected button",
329 "isConstructor" : false,
331 "memberOf" : "Roo.bootstrap.Button",
343 "desc" : "get the current active state",
345 "isConstructor" : false,
347 "memberOf" : "Roo.bootstrap.Button",
358 "desc" : "true if it's active"
363 "name" : "setActive",
364 "desc" : "sets the active state on/off,",
366 "isConstructor" : false,
368 "memberOf" : "Roo.bootstrap.Button",
377 "desc" : "(optional) Force a particular state",
385 "name" : "toggleActive",
386 "desc" : "toggles the current active state",
388 "isConstructor" : false,
390 "memberOf" : "Roo.bootstrap.Button",
402 "desc" : "get the text of the first selected button",
404 "isConstructor" : false,
406 "memberOf" : "Roo.bootstrap.Button",
418 "desc" : "Enables this button",
420 "isConstructor" : false,
422 "memberOf" : "Roo.bootstrap.Button",
434 "desc" : "Disable this button",
436 "isConstructor" : false,
438 "memberOf" : "Roo.bootstrap.Button",
449 "name" : "tooltipEl",
450 "desc" : "Fetch the element to display the tooltip on.",
452 "isConstructor" : false,
454 "memberOf" : "Roo.bootstrap.Component",
464 "type" : "Roo.Element",
465 "desc" : "defaults to this.el"
471 "desc" : "Hide a component - adds 'hidden' class",
473 "isConstructor" : false,
475 "memberOf" : "Roo.bootstrap.Component",
487 "desc" : "Show a component - removes 'hidden' class",
489 "isConstructor" : false,
491 "memberOf" : "Roo.bootstrap.Component",
502 "name" : "setVisibilityEl",
503 "desc" : "Set the element that will be used to show or hide",
505 "isConstructor" : false,
507 "memberOf" : "Roo.bootstrap.Component",
518 "name" : "getVisibilityEl",
519 "desc" : "Get the element that will be used to show or hide",
521 "isConstructor" : false,
523 "memberOf" : "Roo.bootstrap.Component",
534 "name" : "initEvents",
535 "desc" : "Initialize Events for the element",
537 "isConstructor" : false,
539 "memberOf" : "Roo.bootstrap.Component",
550 "name" : "getChildContainer",
551 "desc" : "Fetch the element to add children to",
553 "isConstructor" : false,
555 "memberOf" : "Roo.bootstrap.Component",
565 "type" : "Roo.Element",
566 "desc" : "defaults to this.el"
572 "desc" : "Returns the id of this component.",
574 "isConstructor" : false,
576 "memberOf" : "Roo.Component",
593 "desc" : "If this is a lazy rendering component, render it to its container element.",
595 "isConstructor" : false,
597 "memberOf" : "Roo.Component",
604 "name" : "container",
605 "type" : "String/HTMLElement/Element",
606 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
615 "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}.",
617 "isConstructor" : false,
619 "memberOf" : "Roo.Component",
630 "name" : "isVisible",
631 "desc" : "Returns true if this component is visible.",
633 "isConstructor" : false,
635 "memberOf" : "Roo.Component",
646 "name" : "setDisabled",
647 "desc" : "Convenience function for setting disabled/enabled by boolean.",
649 "isConstructor" : false,
651 "memberOf" : "Roo.Component",
669 "desc" : "Try to focus this component.",
671 "isConstructor" : false,
673 "memberOf" : "Roo.Component",
680 "name" : "selectText",
682 "desc" : "True to also select the text in this component (if applicable)",
689 "type" : "Roo.Component",
695 "name" : "setVisible",
696 "desc" : "Convenience function to hide or show this component by boolean.",
698 "isConstructor" : false,
700 "memberOf" : "Roo.Component",
709 "desc" : "True to show, false to hide",
716 "type" : "Roo.Component",
723 "desc" : "Returns the underlying {@link Roo.Element}.",
725 "isConstructor" : false,
727 "memberOf" : "Roo.Component",
737 "type" : "Roo.Element",
738 "desc" : "The element"
743 "name" : "purgeListeners",
744 "desc" : "Removes all listeners for this object",
746 "isConstructor" : false,
748 "memberOf" : "Roo.util.Observable",
760 "desc" : "Appends an event handler to this element (shorthand for addListener)",
762 "isConstructor" : false,
764 "memberOf" : "Roo.util.Observable",
771 "name" : "eventName",
773 "desc" : "The type of event to listen for",
779 "desc" : "The method the event invokes",
785 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
791 "desc" : "(optional)",
800 "desc" : "Removes a listener (shorthand for removeListener)",
802 "isConstructor" : false,
804 "memberOf" : "Roo.util.Observable",
811 "name" : "eventName",
813 "desc" : "The type of event to listen for",
819 "desc" : "The handler to remove",
825 "desc" : "(optional) The scope (this object) for the handler",
833 "name" : "addEvents",
834 "desc" : "Used to define events on this Observable",
836 "isConstructor" : false,
838 "memberOf" : "Roo.util.Observable",
847 "desc" : "The object with the events defined",
855 "name" : "releaseCapture",
856 "desc" : "Removes <b>all</b> added captures from the Observable.",
858 "isConstructor" : false,
860 "memberOf" : "Roo.util.Observable",
868 "type" : "Observable",
869 "desc" : "The Observable to release",
877 "name" : "removeListener",
878 "desc" : "Removes a listener",
880 "isConstructor" : false,
882 "memberOf" : "Roo.util.Observable",
889 "name" : "eventName",
891 "desc" : "The type of event to listen for",
897 "desc" : "The handler to remove",
903 "desc" : "(optional) The scope (this object) for the handler",
911 "name" : "fireEvent",
912 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
914 "isConstructor" : false,
916 "memberOf" : "Roo.util.Observable",
923 "name" : "eventName",
930 "type" : "Object...",
931 "desc" : "Variable number of parameters are passed to handlers",
939 "desc" : "returns false if any of the handlers return false otherwise it returns true"
944 "name" : "hasListener",
945 "desc" : "Checks to see if this object has any listeners for a specified event",
947 "isConstructor" : false,
949 "memberOf" : "Roo.util.Observable",
956 "name" : "eventName",
958 "desc" : "The name of the event to check for",
966 "desc" : "True if the event is being listened for, else false"
972 "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.",
974 "isConstructor" : false,
976 "memberOf" : "Roo.util.Observable",
984 "type" : "Observable",
985 "desc" : "The Observable to capture",
991 "desc" : "The function to call",
997 "desc" : "(optional) The scope (this object) for the fn",
1005 "name" : "addListener",
1006 "desc" : "Appends an event handler to this component",
1008 "isConstructor" : false,
1009 "isPrivate" : false,
1010 "memberOf" : "Roo.util.Observable",
1017 "name" : "eventName",
1019 "desc" : "The type of event to listen for",
1020 "isOptional" : false
1024 "type" : "Function",
1025 "desc" : "The method the event invokes",
1026 "isOptional" : false
1031 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1032 "isOptional" : false
1037 "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>",
1038 "isOptional" : false
1048 "desc" : "After the button has been toggles",
1057 "type" : "Roo.bootstrap.Button",
1059 "isOptional" : false
1063 "type" : "Roo.EventObject",
1065 "isOptional" : false
1070 "desc" : "(also available as button.pressed)",
1071 "isOptional" : false
1079 "desc" : "When a butotn is pressed",
1088 "type" : "Roo.bootstrap.Button",
1090 "isOptional" : false
1094 "type" : "Roo.EventObject",
1096 "isOptional" : false
1103 "name" : "childrenrendered",
1104 "desc" : "Fires when the children have been rendered..",
1105 "memberOf" : "Roo.bootstrap.Component",
1113 "type" : "Roo.bootstrap.Component",
1115 "isOptional" : false
1122 "name" : "beforerender",
1123 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1124 "memberOf" : "Roo.Component",
1132 "type" : "Roo.Component",
1134 "isOptional" : false
1142 "desc" : "Fires after the component is disabled.",
1143 "memberOf" : "Roo.Component",
1151 "type" : "Roo.Component",
1153 "isOptional" : false
1161 "desc" : "Fires after the component is rendered.",
1162 "memberOf" : "Roo.Component",
1170 "type" : "Roo.Component",
1172 "isOptional" : false
1180 "desc" : "Fires after the component is destroyed.",
1181 "memberOf" : "Roo.Component",
1189 "type" : "Roo.Component",
1191 "isOptional" : false
1199 "desc" : "Fires after the component is hidden.",
1200 "memberOf" : "Roo.Component",
1208 "type" : "Roo.Component",
1210 "isOptional" : false
1217 "name" : "beforehide",
1218 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1219 "memberOf" : "Roo.Component",
1227 "type" : "Roo.Component",
1229 "isOptional" : false
1237 "desc" : "Fires after the component is shown.",
1238 "memberOf" : "Roo.Component",
1246 "type" : "Roo.Component",
1248 "isOptional" : false
1255 "name" : "beforeshow",
1256 "desc" : "Fires before the component is shown. Return false to stop the show.",
1257 "memberOf" : "Roo.Component",
1265 "type" : "Roo.Component",
1267 "isOptional" : false
1275 "desc" : "Fires after the component is enabled.",
1276 "memberOf" : "Roo.Component",
1284 "type" : "Roo.Component",
1286 "isOptional" : false
1293 "name" : "beforedestroy",
1294 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1295 "memberOf" : "Roo.Component",
1303 "type" : "Roo.Component",
1305 "isOptional" : false