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",
83 "memberOf" : "Roo.bootstrap.Button",
98 "desc" : "Text for the tooltip",
99 "memberOf" : "Roo.bootstrap.Component",
105 "desc" : "text for on slidy toggle state",
106 "memberOf" : "Roo.bootstrap.Button",
110 "name" : "preventDefault",
112 "desc" : "default true (stop click event triggering the URL if it's a link.)",
113 "memberOf" : "Roo.bootstrap.Button",
120 "memberOf" : "Roo.bootstrap.Button",
129 "desc" : "target for a href. (_self|_blank|_parent|_top| other)",
130 "memberOf" : "Roo.bootstrap.Button",
134 "name" : "glyphicon",
136 "desc" : "depricated - use fa",
137 "memberOf" : "Roo.bootstrap.Button",
141 "name" : "allowDomMove",
143 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
144 "memberOf" : "Roo.Component",
150 "desc" : "any extra css",
151 "memberOf" : "Roo.bootstrap.Component",
157 "desc" : "default false;",
158 "memberOf" : "Roo.bootstrap.Button",
162 "name" : "actionMode",
164 "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",
165 "memberOf" : "Roo.Component",
169 "name" : "listeners",
171 "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>",
172 "memberOf" : "Roo.util.Observable",
176 "name" : "container_method",
178 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
179 "memberOf" : "Roo.bootstrap.Component",
185 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
186 "memberOf" : "Roo.bootstrap.Button",
193 "memberOf" : "Roo.bootstrap.Button",
203 "desc" : "css class",
204 "memberOf" : "Roo.bootstrap.Component",
208 "name" : "badge_weight",
210 "desc" : ") default (same as button)",
211 "memberOf" : "Roo.bootstrap.Button",
224 "name" : "can_build_overlaid",
226 "desc" : "True if element can be rebuild from a HTML page",
227 "memberOf" : "Roo.bootstrap.Component",
231 "name" : "disableClass",
233 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
234 "memberOf" : "Roo.Component",
238 "name" : "visibilityEl",
239 "type" : "string|object",
240 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
241 "memberOf" : "Roo.bootstrap.Component",
250 "desc" : "empty or href",
251 "memberOf" : "Roo.bootstrap.Button",
258 "memberOf" : "Roo.bootstrap.Button",
268 "desc" : "cutomer id",
269 "memberOf" : "Roo.bootstrap.Component",
275 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
276 "memberOf" : "Roo.bootstrap.Button",
282 "desc" : "text for off slidy toggle state",
283 "memberOf" : "Roo.bootstrap.Button",
287 "name" : "removeClass",
289 "desc" : "remove the standard class..",
290 "memberOf" : "Roo.bootstrap.Button",
296 "desc" : "The button content",
297 "memberOf" : "Roo.bootstrap.Button",
303 "desc" : "e) default null - if the button ahs active state",
304 "memberOf" : "Roo.bootstrap.Button",
314 "desc" : "set the text of the first selected button",
316 "isConstructor" : false,
318 "memberOf" : "Roo.bootstrap.Button",
328 "desc" : "get the current active state",
330 "isConstructor" : false,
332 "memberOf" : "Roo.bootstrap.Button",
342 "desc" : "true if it's active"
347 "name" : "setActive",
348 "desc" : "sets the active state on/off,",
350 "isConstructor" : false,
352 "memberOf" : "Roo.bootstrap.Button",
361 "desc" : "(optional) Force a particular state",
368 "name" : "toggleActive",
369 "desc" : "toggles the current active state",
371 "isConstructor" : false,
373 "memberOf" : "Roo.bootstrap.Button",
383 "desc" : "get the text of the first selected button",
385 "isConstructor" : false,
387 "memberOf" : "Roo.bootstrap.Button",
397 "desc" : "Enables this button",
399 "isConstructor" : false,
401 "memberOf" : "Roo.bootstrap.Button",
411 "desc" : "Disable this button",
413 "isConstructor" : false,
415 "memberOf" : "Roo.bootstrap.Button",
424 "name" : "tooltipEl",
425 "desc" : "Fetch the element to display the tooltip on.",
427 "isConstructor" : false,
429 "memberOf" : "Roo.bootstrap.Component",
438 "type" : "Roo.Element",
439 "desc" : "defaults to this.el"
445 "desc" : "Hide a component - adds 'hidden' class",
447 "isConstructor" : false,
449 "memberOf" : "Roo.bootstrap.Component",
459 "desc" : "Show a component - removes 'hidden' class",
461 "isConstructor" : false,
463 "memberOf" : "Roo.bootstrap.Component",
472 "name" : "setVisibilityEl",
473 "desc" : "Set the element that will be used to show or hide",
475 "isConstructor" : false,
477 "memberOf" : "Roo.bootstrap.Component",
486 "name" : "getVisibilityEl",
487 "desc" : "Get the element that will be used to show or hide",
489 "isConstructor" : false,
491 "memberOf" : "Roo.bootstrap.Component",
500 "name" : "initEvents",
501 "desc" : "Initialize Events for the element",
503 "isConstructor" : false,
505 "memberOf" : "Roo.bootstrap.Component",
514 "name" : "getChildContainer",
515 "desc" : "Fetch the element to add children to",
517 "isConstructor" : false,
519 "memberOf" : "Roo.bootstrap.Component",
528 "type" : "Roo.Element",
529 "desc" : "defaults to this.el"
535 "desc" : "Returns the id of this component.",
537 "isConstructor" : false,
539 "memberOf" : "Roo.Component",
555 "desc" : "If this is a lazy rendering component, render it to its container element.",
557 "isConstructor" : false,
559 "memberOf" : "Roo.Component",
566 "name" : "container",
567 "type" : "String/HTMLElement/Element",
568 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
576 "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}.",
578 "isConstructor" : false,
580 "memberOf" : "Roo.Component",
589 "name" : "isVisible",
590 "desc" : "Returns true if this component is visible.",
592 "isConstructor" : false,
594 "memberOf" : "Roo.Component",
603 "name" : "setDisabled",
604 "desc" : "Convenience function for setting disabled/enabled by boolean.",
606 "isConstructor" : false,
608 "memberOf" : "Roo.Component",
625 "desc" : "Try to focus this component.",
627 "isConstructor" : false,
629 "memberOf" : "Roo.Component",
636 "name" : "selectText",
638 "desc" : "True to also select the text in this component (if applicable)",
645 "type" : "Roo.Component",
651 "name" : "setVisible",
652 "desc" : "Convenience function to hide or show this component by boolean.",
654 "isConstructor" : false,
656 "memberOf" : "Roo.Component",
665 "desc" : "True to show, false to hide",
672 "type" : "Roo.Component",
679 "desc" : "Returns the underlying {@link Roo.Element}.",
681 "isConstructor" : false,
683 "memberOf" : "Roo.Component",
692 "type" : "Roo.Element",
693 "desc" : "The element"
698 "name" : "purgeListeners",
699 "desc" : "Removes all listeners for this object",
701 "isConstructor" : false,
703 "memberOf" : "Roo.util.Observable",
713 "desc" : "Appends an event handler to this element (shorthand for addListener)",
715 "isConstructor" : false,
717 "memberOf" : "Roo.util.Observable",
724 "name" : "eventName",
726 "desc" : "The type of event to listen for",
732 "desc" : "The method the event invokes",
738 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
744 "desc" : "(optional)",
752 "desc" : "Removes a listener (shorthand for removeListener)",
754 "isConstructor" : false,
756 "memberOf" : "Roo.util.Observable",
763 "name" : "eventName",
765 "desc" : "The type of event to listen for",
771 "desc" : "The handler to remove",
777 "desc" : "(optional) The scope (this object) for the handler",
784 "name" : "addEvents",
785 "desc" : "Used to define events on this Observable",
787 "isConstructor" : false,
789 "memberOf" : "Roo.util.Observable",
798 "desc" : "The object with the events defined",
805 "name" : "releaseCapture",
806 "desc" : "Removes <b>all</b> added captures from the Observable.",
808 "isConstructor" : false,
810 "memberOf" : "Roo.util.Observable",
818 "type" : "Observable",
819 "desc" : "The Observable to release",
826 "name" : "removeListener",
827 "desc" : "Removes a listener",
829 "isConstructor" : false,
831 "memberOf" : "Roo.util.Observable",
838 "name" : "eventName",
840 "desc" : "The type of event to listen for",
846 "desc" : "The handler to remove",
852 "desc" : "(optional) The scope (this object) for the handler",
859 "name" : "fireEvent",
860 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
862 "isConstructor" : false,
864 "memberOf" : "Roo.util.Observable",
871 "name" : "eventName",
878 "type" : "Object...",
879 "desc" : "Variable number of parameters are passed to handlers",
887 "desc" : "returns false if any of the handlers return false otherwise it returns true"
892 "name" : "hasListener",
893 "desc" : "Checks to see if this object has any listeners for a specified event",
895 "isConstructor" : false,
897 "memberOf" : "Roo.util.Observable",
904 "name" : "eventName",
906 "desc" : "The name of the event to check for",
914 "desc" : "True if the event is being listened for, else false"
920 "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.",
922 "isConstructor" : false,
924 "memberOf" : "Roo.util.Observable",
932 "type" : "Observable",
933 "desc" : "The Observable to capture",
939 "desc" : "The function to call",
945 "desc" : "(optional) The scope (this object) for the fn",
952 "name" : "addListener",
953 "desc" : "Appends an event handler to this component",
955 "isConstructor" : false,
957 "memberOf" : "Roo.util.Observable",
964 "name" : "eventName",
966 "desc" : "The type of event to listen for",
972 "desc" : "The method the event invokes",
978 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
984 "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>",
994 "desc" : "After the button has been toggles",
995 "memberOf" : "Roo.bootstrap.Button",
1003 "type" : "Roo.bootstrap.Button",
1005 "isOptional" : false
1009 "type" : "Roo.EventObject",
1011 "isOptional" : false
1016 "desc" : "(also available as button.pressed)",
1017 "isOptional" : false
1024 "desc" : "When a butotn is pressed",
1025 "memberOf" : "Roo.bootstrap.Button",
1033 "type" : "Roo.bootstrap.Button",
1035 "isOptional" : false
1039 "type" : "Roo.EventObject",
1041 "isOptional" : false
1047 "name" : "childrenrendered",
1048 "desc" : "Fires when the children have been rendered..",
1049 "memberOf" : "Roo.bootstrap.Component",
1057 "type" : "Roo.bootstrap.Component",
1059 "isOptional" : false
1065 "name" : "beforerender",
1066 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1067 "memberOf" : "Roo.Component",
1075 "type" : "Roo.Component",
1077 "isOptional" : false
1084 "desc" : "Fires after the component is disabled.",
1085 "memberOf" : "Roo.Component",
1093 "type" : "Roo.Component",
1095 "isOptional" : false
1102 "desc" : "Fires after the component is rendered.",
1103 "memberOf" : "Roo.Component",
1111 "type" : "Roo.Component",
1113 "isOptional" : false
1120 "desc" : "Fires after the component is destroyed.",
1121 "memberOf" : "Roo.Component",
1129 "type" : "Roo.Component",
1131 "isOptional" : false
1138 "desc" : "Fires after the component is hidden.",
1139 "memberOf" : "Roo.Component",
1147 "type" : "Roo.Component",
1149 "isOptional" : false
1155 "name" : "beforehide",
1156 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1157 "memberOf" : "Roo.Component",
1165 "type" : "Roo.Component",
1167 "isOptional" : false
1174 "desc" : "Fires after the component is shown.",
1175 "memberOf" : "Roo.Component",
1183 "type" : "Roo.Component",
1185 "isOptional" : false
1191 "name" : "beforeshow",
1192 "desc" : "Fires before the component is shown. Return false to stop the show.",
1193 "memberOf" : "Roo.Component",
1201 "type" : "Roo.Component",
1203 "isOptional" : false
1210 "desc" : "Fires after the component is enabled.",
1211 "memberOf" : "Roo.Component",
1219 "type" : "Roo.Component",
1221 "isOptional" : false
1227 "name" : "beforedestroy",
1228 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1229 "memberOf" : "Roo.Component",
1237 "type" : "Roo.Component",
1239 "isOptional" : false