2 "name" : "Roo.bootstrap.menu.Item",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap MenuItem class",
16 "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>",
17 "memberOf" : "Roo.util.Observable",
24 "desc" : "Text for the tooltip",
25 "memberOf" : "Roo.bootstrap.Component",
30 "name" : "container_method",
32 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
33 "memberOf" : "Roo.bootstrap.Component",
38 "name" : "visibilityEl",
39 "type" : "string|object",
40 "desc" : "What element to use for visibility (@see getVisibilityEl())",
41 "memberOf" : "Roo.bootstrap.Component",
48 "name" : "can_build_overlaid",
50 "desc" : "True if element can be rebuild from a HTML page",
51 "memberOf" : "Roo.bootstrap.Component",
58 "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\".",
59 "memberOf" : "Roo.Component",
68 "desc" : "any extra css",
69 "memberOf" : "Roo.bootstrap.Component",
74 "name" : "allowDomMove",
76 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
77 "memberOf" : "Roo.Component",
84 "desc" : "text of the item",
85 "memberOf" : "Roo.bootstrap.menu.Item",
90 "name" : "preventDefault",
92 "desc" : "default true",
93 "memberOf" : "Roo.bootstrap.menu.Item",
102 "desc" : "Submenu align to (left | right) default right",
103 "memberOf" : "Roo.bootstrap.menu.Item",
110 "desc" : "css class",
111 "memberOf" : "Roo.bootstrap.Component",
118 "desc" : "default false",
119 "memberOf" : "Roo.bootstrap.menu.Item",
128 "desc" : "default false",
129 "memberOf" : "Roo.bootstrap.menu.Item",
138 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
139 "memberOf" : "Roo.bootstrap.Component",
144 "name" : "actionMode",
146 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
147 "memberOf" : "Roo.Component",
154 "desc" : "Font awesome icon",
155 "memberOf" : "Roo.bootstrap.menu.Item",
162 "desc" : "cutomer id",
163 "memberOf" : "Roo.bootstrap.Component",
170 "desc" : "Specifies name attribute",
171 "memberOf" : "Roo.bootstrap.Component",
176 "name" : "disableClass",
178 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
179 "memberOf" : "Roo.Component",
187 "memberOf" : "Roo.bootstrap.menu.Item",
194 "name" : "tooltipEl",
195 "desc" : "Fetch the element to display the tooltip on.",
197 "isConstructor" : false,
199 "memberOf" : "Roo.bootstrap.Component",
209 "type" : "Roo.Element",
210 "desc" : "defaults to this.el"
216 "desc" : "Hide a component - adds 'hidden' class",
218 "isConstructor" : false,
220 "memberOf" : "Roo.bootstrap.Component",
232 "desc" : "Show a component - removes 'hidden' class",
234 "isConstructor" : false,
236 "memberOf" : "Roo.bootstrap.Component",
247 "name" : "setVisibilityEl",
248 "desc" : "Set the element that will be used to show or hide",
250 "isConstructor" : false,
252 "memberOf" : "Roo.bootstrap.Component",
263 "name" : "getVisibilityEl",
264 "desc" : "Get the element that will be used to show or hide",
266 "isConstructor" : false,
268 "memberOf" : "Roo.bootstrap.Component",
279 "name" : "initEvents",
280 "desc" : "Initialize Events for the element",
282 "isConstructor" : false,
284 "memberOf" : "Roo.bootstrap.Component",
295 "name" : "getChildContainer",
296 "desc" : "Fetch the element to add children to",
298 "isConstructor" : false,
300 "memberOf" : "Roo.bootstrap.Component",
310 "type" : "Roo.Element",
311 "desc" : "defaults to this.el"
317 "desc" : "Returns the id of this component.",
319 "isConstructor" : false,
321 "memberOf" : "Roo.Component",
338 "desc" : "If this is a lazy rendering component, render it to its container element.",
340 "isConstructor" : false,
342 "memberOf" : "Roo.Component",
349 "name" : "container",
350 "type" : "String/HTMLElement/Element",
351 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
360 "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}.",
362 "isConstructor" : false,
364 "memberOf" : "Roo.Component",
375 "name" : "isVisible",
376 "desc" : "Returns true if this component is visible.",
378 "isConstructor" : false,
380 "memberOf" : "Roo.Component",
391 "name" : "setDisabled",
392 "desc" : "Convenience function for setting disabled/enabled by boolean.",
394 "isConstructor" : false,
396 "memberOf" : "Roo.Component",
414 "desc" : "Try to focus this component.",
416 "isConstructor" : false,
418 "memberOf" : "Roo.Component",
425 "name" : "selectText",
427 "desc" : "True to also select the text in this component (if applicable)",
434 "type" : "Roo.Component",
441 "desc" : "Enable this component.",
443 "isConstructor" : false,
445 "memberOf" : "Roo.Component",
455 "type" : "Roo.Component",
461 "name" : "setVisible",
462 "desc" : "Convenience function to hide or show this component by boolean.",
464 "isConstructor" : false,
466 "memberOf" : "Roo.Component",
475 "desc" : "True to show, false to hide",
482 "type" : "Roo.Component",
489 "desc" : "Disable this component.",
491 "isConstructor" : false,
493 "memberOf" : "Roo.Component",
503 "type" : "Roo.Component",
510 "desc" : "Returns the underlying {@link Roo.Element}.",
512 "isConstructor" : false,
514 "memberOf" : "Roo.Component",
524 "type" : "Roo.Element",
525 "desc" : "The element"
530 "name" : "purgeListeners",
531 "desc" : "Removes all listeners for this object",
533 "isConstructor" : false,
535 "memberOf" : "Roo.util.Observable",
547 "desc" : "Appends an event handler to this element (shorthand for addListener)",
549 "isConstructor" : false,
551 "memberOf" : "Roo.util.Observable",
558 "name" : "eventName",
560 "desc" : "The type of event to listen for",
566 "desc" : "The method the event invokes",
572 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
578 "desc" : "(optional)",
587 "desc" : "Removes a listener (shorthand for removeListener)",
589 "isConstructor" : false,
591 "memberOf" : "Roo.util.Observable",
598 "name" : "eventName",
600 "desc" : "The type of event to listen for",
606 "desc" : "The handler to remove",
612 "desc" : "(optional) The scope (this object) for the handler",
620 "name" : "addEvents",
621 "desc" : "Used to define events on this Observable",
623 "isConstructor" : false,
625 "memberOf" : "Roo.util.Observable",
634 "desc" : "The object with the events defined",
642 "name" : "releaseCapture",
643 "desc" : "Removes <b>all</b> added captures from the Observable.",
645 "isConstructor" : false,
647 "memberOf" : "Roo.util.Observable",
655 "type" : "Observable",
656 "desc" : "The Observable to release",
664 "name" : "removeListener",
665 "desc" : "Removes a listener",
667 "isConstructor" : false,
669 "memberOf" : "Roo.util.Observable",
676 "name" : "eventName",
678 "desc" : "The type of event to listen for",
684 "desc" : "The handler to remove",
690 "desc" : "(optional) The scope (this object) for the handler",
698 "name" : "fireEvent",
699 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
701 "isConstructor" : false,
703 "memberOf" : "Roo.util.Observable",
710 "name" : "eventName",
717 "type" : "Object...",
718 "desc" : "Variable number of parameters are passed to handlers",
726 "desc" : "returns false if any of the handlers return false otherwise it returns true"
731 "name" : "hasListener",
732 "desc" : "Checks to see if this object has any listeners for a specified event",
734 "isConstructor" : false,
736 "memberOf" : "Roo.util.Observable",
743 "name" : "eventName",
745 "desc" : "The name of the event to check for",
753 "desc" : "True if the event is being listened for, else false"
759 "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.",
761 "isConstructor" : false,
763 "memberOf" : "Roo.util.Observable",
771 "type" : "Observable",
772 "desc" : "The Observable to capture",
778 "desc" : "The function to call",
784 "desc" : "(optional) The scope (this object) for the fn",
792 "name" : "addListener",
793 "desc" : "Appends an event handler to this component",
795 "isConstructor" : false,
797 "memberOf" : "Roo.util.Observable",
804 "name" : "eventName",
806 "desc" : "The type of event to listen for",
812 "desc" : "The method the event invokes",
818 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
824 "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>",
834 "name" : "mouseover",
835 "desc" : "Fires when the mouse is hovering over this menu",
844 "type" : "Roo.bootstrap.menu.Item",
850 "type" : "Roo.EventObject",
860 "desc" : "Fires when the mouse exits this menu",
869 "type" : "Roo.bootstrap.menu.Item",
875 "type" : "Roo.EventObject",
885 "desc" : "The raw click event for the entire grid.",
894 "type" : "Roo.EventObject",
903 "name" : "childrenrendered",
904 "desc" : "Fires when the children have been rendered..",
905 "memberOf" : "Roo.bootstrap.Component",
913 "type" : "Roo.bootstrap.Component",
922 "name" : "beforerender",
923 "desc" : "Fires before the component is rendered. Return false to stop the render.",
924 "memberOf" : "Roo.Component",
932 "type" : "Roo.Component",
942 "desc" : "Fires after the component is disabled.",
943 "memberOf" : "Roo.Component",
951 "type" : "Roo.Component",
961 "desc" : "Fires after the component is rendered.",
962 "memberOf" : "Roo.Component",
970 "type" : "Roo.Component",
980 "desc" : "Fires after the component is destroyed.",
981 "memberOf" : "Roo.Component",
989 "type" : "Roo.Component",
999 "desc" : "Fires after the component is hidden.",
1000 "memberOf" : "Roo.Component",
1008 "type" : "Roo.Component",
1010 "isOptional" : false
1017 "name" : "beforehide",
1018 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1019 "memberOf" : "Roo.Component",
1027 "type" : "Roo.Component",
1029 "isOptional" : false
1037 "desc" : "Fires after the component is shown.",
1038 "memberOf" : "Roo.Component",
1046 "type" : "Roo.Component",
1048 "isOptional" : false
1055 "name" : "beforeshow",
1056 "desc" : "Fires before the component is shown. Return false to stop the show.",
1057 "memberOf" : "Roo.Component",
1065 "type" : "Roo.Component",
1067 "isOptional" : false
1075 "desc" : "Fires after the component is enabled.",
1076 "memberOf" : "Roo.Component",
1084 "type" : "Roo.Component",
1086 "isOptional" : false
1093 "name" : "beforedestroy",
1094 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1095 "memberOf" : "Roo.Component",
1103 "type" : "Roo.Component",
1105 "isOptional" : false