2 "name" : "Roo.bootstrap.menu.Item",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap MenuItem class",
21 "desc" : "The config object",
31 "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>",
32 "memberOf" : "Roo.util.Observable",
39 "desc" : "Text for the tooltip",
40 "memberOf" : "Roo.bootstrap.Component",
45 "name" : "container_method",
47 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
48 "memberOf" : "Roo.bootstrap.Component",
53 "name" : "visibilityEl",
54 "type" : "string|object",
55 "desc" : "What element to use for visibility (@see getVisibilityEl())",
56 "memberOf" : "Roo.bootstrap.Component",
63 "name" : "can_build_overlaid",
65 "desc" : "True if element can be rebuild from a HTML page",
66 "memberOf" : "Roo.bootstrap.Component",
73 "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\".",
74 "memberOf" : "Roo.Component",
83 "desc" : "any extra css",
84 "memberOf" : "Roo.bootstrap.Component",
89 "name" : "allowDomMove",
91 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
92 "memberOf" : "Roo.Component",
99 "desc" : "text of the item",
100 "memberOf" : "Roo.bootstrap.menu.Item",
105 "name" : "preventDefault",
107 "desc" : "default true",
108 "memberOf" : "Roo.bootstrap.menu.Item",
117 "desc" : "Submenu align to (left | right) default right",
118 "memberOf" : "Roo.bootstrap.menu.Item",
125 "desc" : "css class",
126 "memberOf" : "Roo.bootstrap.Component",
133 "desc" : "default false",
134 "memberOf" : "Roo.bootstrap.menu.Item",
143 "desc" : "default false",
144 "memberOf" : "Roo.bootstrap.menu.Item",
153 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
154 "memberOf" : "Roo.bootstrap.Component",
159 "name" : "actionMode",
161 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
162 "memberOf" : "Roo.Component",
169 "desc" : "Font awesome icon",
170 "memberOf" : "Roo.bootstrap.menu.Item",
177 "desc" : "cutomer id",
178 "memberOf" : "Roo.bootstrap.Component",
185 "desc" : "Specifies name attribute",
186 "memberOf" : "Roo.bootstrap.Component",
191 "name" : "disableClass",
193 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
194 "memberOf" : "Roo.Component",
202 "memberOf" : "Roo.bootstrap.menu.Item",
209 "name" : "tooltipEl",
210 "desc" : "Fetch the element to display the tooltip on.",
212 "isConstructor" : false,
214 "memberOf" : "Roo.bootstrap.Component",
224 "type" : "Roo.Element",
225 "desc" : "defaults to this.el"
231 "desc" : "Hide a component - adds 'hidden' class",
233 "isConstructor" : false,
235 "memberOf" : "Roo.bootstrap.Component",
247 "desc" : "Show a component - removes 'hidden' class",
249 "isConstructor" : false,
251 "memberOf" : "Roo.bootstrap.Component",
262 "name" : "setVisibilityEl",
263 "desc" : "Set the element that will be used to show or hide",
265 "isConstructor" : false,
267 "memberOf" : "Roo.bootstrap.Component",
278 "name" : "getVisibilityEl",
279 "desc" : "Get the element that will be used to show or hide",
281 "isConstructor" : false,
283 "memberOf" : "Roo.bootstrap.Component",
294 "name" : "initEvents",
295 "desc" : "Initialize Events for the element",
297 "isConstructor" : false,
299 "memberOf" : "Roo.bootstrap.Component",
310 "name" : "getChildContainer",
311 "desc" : "Fetch the element to add children to",
313 "isConstructor" : false,
315 "memberOf" : "Roo.bootstrap.Component",
325 "type" : "Roo.Element",
326 "desc" : "defaults to this.el"
332 "desc" : "Returns the id of this component.",
334 "isConstructor" : false,
336 "memberOf" : "Roo.Component",
353 "desc" : "If this is a lazy rendering component, render it to its container element.",
355 "isConstructor" : false,
357 "memberOf" : "Roo.Component",
364 "name" : "container",
365 "type" : "String/HTMLElement/Element",
366 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
375 "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}.",
377 "isConstructor" : false,
379 "memberOf" : "Roo.Component",
390 "name" : "isVisible",
391 "desc" : "Returns true if this component is visible.",
393 "isConstructor" : false,
395 "memberOf" : "Roo.Component",
406 "name" : "setDisabled",
407 "desc" : "Convenience function for setting disabled/enabled by boolean.",
409 "isConstructor" : false,
411 "memberOf" : "Roo.Component",
429 "desc" : "Try to focus this component.",
431 "isConstructor" : false,
433 "memberOf" : "Roo.Component",
440 "name" : "selectText",
442 "desc" : "True to also select the text in this component (if applicable)",
449 "type" : "Roo.Component",
456 "desc" : "Enable this component.",
458 "isConstructor" : false,
460 "memberOf" : "Roo.Component",
470 "type" : "Roo.Component",
476 "name" : "setVisible",
477 "desc" : "Convenience function to hide or show this component by boolean.",
479 "isConstructor" : false,
481 "memberOf" : "Roo.Component",
490 "desc" : "True to show, false to hide",
497 "type" : "Roo.Component",
504 "desc" : "Disable this component.",
506 "isConstructor" : false,
508 "memberOf" : "Roo.Component",
518 "type" : "Roo.Component",
525 "desc" : "Returns the underlying {@link Roo.Element}.",
527 "isConstructor" : false,
529 "memberOf" : "Roo.Component",
539 "type" : "Roo.Element",
540 "desc" : "The element"
545 "name" : "purgeListeners",
546 "desc" : "Removes all listeners for this object",
548 "isConstructor" : false,
550 "memberOf" : "Roo.util.Observable",
562 "desc" : "Appends an event handler to this element (shorthand for addListener)",
564 "isConstructor" : false,
566 "memberOf" : "Roo.util.Observable",
573 "name" : "eventName",
575 "desc" : "The type of event to listen for",
581 "desc" : "The method the event invokes",
587 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
593 "desc" : "(optional)",
602 "desc" : "Removes a listener (shorthand for removeListener)",
604 "isConstructor" : false,
606 "memberOf" : "Roo.util.Observable",
613 "name" : "eventName",
615 "desc" : "The type of event to listen for",
621 "desc" : "The handler to remove",
627 "desc" : "(optional) The scope (this object) for the handler",
635 "name" : "addEvents",
636 "desc" : "Used to define events on this Observable",
638 "isConstructor" : false,
640 "memberOf" : "Roo.util.Observable",
649 "desc" : "The object with the events defined",
657 "name" : "releaseCapture",
658 "desc" : "Removes <b>all</b> added captures from the Observable.",
660 "isConstructor" : false,
662 "memberOf" : "Roo.util.Observable",
670 "type" : "Observable",
671 "desc" : "The Observable to release",
679 "name" : "removeListener",
680 "desc" : "Removes a listener",
682 "isConstructor" : false,
684 "memberOf" : "Roo.util.Observable",
691 "name" : "eventName",
693 "desc" : "The type of event to listen for",
699 "desc" : "The handler to remove",
705 "desc" : "(optional) The scope (this object) for the handler",
713 "name" : "fireEvent",
714 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
716 "isConstructor" : false,
718 "memberOf" : "Roo.util.Observable",
725 "name" : "eventName",
732 "type" : "Object...",
733 "desc" : "Variable number of parameters are passed to handlers",
741 "desc" : "returns false if any of the handlers return false otherwise it returns true"
746 "name" : "hasListener",
747 "desc" : "Checks to see if this object has any listeners for a specified event",
749 "isConstructor" : false,
751 "memberOf" : "Roo.util.Observable",
758 "name" : "eventName",
760 "desc" : "The name of the event to check for",
768 "desc" : "True if the event is being listened for, else false"
774 "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.",
776 "isConstructor" : false,
778 "memberOf" : "Roo.util.Observable",
786 "type" : "Observable",
787 "desc" : "The Observable to capture",
793 "desc" : "The function to call",
799 "desc" : "(optional) The scope (this object) for the fn",
807 "name" : "addListener",
808 "desc" : "Appends an event handler to this component",
810 "isConstructor" : false,
812 "memberOf" : "Roo.util.Observable",
819 "name" : "eventName",
821 "desc" : "The type of event to listen for",
827 "desc" : "The method the event invokes",
833 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
839 "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>",
849 "name" : "mouseover",
850 "desc" : "Fires when the mouse is hovering over this menu",
859 "type" : "Roo.bootstrap.menu.Item",
865 "type" : "Roo.EventObject",
875 "desc" : "Fires when the mouse exits this menu",
884 "type" : "Roo.bootstrap.menu.Item",
890 "type" : "Roo.EventObject",
900 "desc" : "The raw click event for the entire grid.",
909 "type" : "Roo.EventObject",
918 "name" : "childrenrendered",
919 "desc" : "Fires when the children have been rendered..",
920 "memberOf" : "Roo.bootstrap.Component",
928 "type" : "Roo.bootstrap.Component",
937 "name" : "beforerender",
938 "desc" : "Fires before the component is rendered. Return false to stop the render.",
939 "memberOf" : "Roo.Component",
947 "type" : "Roo.Component",
957 "desc" : "Fires after the component is disabled.",
958 "memberOf" : "Roo.Component",
966 "type" : "Roo.Component",
976 "desc" : "Fires after the component is rendered.",
977 "memberOf" : "Roo.Component",
985 "type" : "Roo.Component",
995 "desc" : "Fires after the component is destroyed.",
996 "memberOf" : "Roo.Component",
1004 "type" : "Roo.Component",
1006 "isOptional" : false
1014 "desc" : "Fires after the component is hidden.",
1015 "memberOf" : "Roo.Component",
1023 "type" : "Roo.Component",
1025 "isOptional" : false
1032 "name" : "beforehide",
1033 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1034 "memberOf" : "Roo.Component",
1042 "type" : "Roo.Component",
1044 "isOptional" : false
1052 "desc" : "Fires after the component is shown.",
1053 "memberOf" : "Roo.Component",
1061 "type" : "Roo.Component",
1063 "isOptional" : false
1070 "name" : "beforeshow",
1071 "desc" : "Fires before the component is shown. Return false to stop the show.",
1072 "memberOf" : "Roo.Component",
1080 "type" : "Roo.Component",
1082 "isOptional" : false
1090 "desc" : "Fires after the component is enabled.",
1091 "memberOf" : "Roo.Component",
1099 "type" : "Roo.Component",
1101 "isOptional" : false
1108 "name" : "beforedestroy",
1109 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1110 "memberOf" : "Roo.Component",
1118 "type" : "Roo.Component",
1120 "isOptional" : false