2 "name" : "Roo.bootstrap.menu.Item",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap MenuItem class",
21 "desc" : "The config object",
30 "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>",
31 "memberOf" : "Roo.util.Observable",
37 "desc" : "Text for the tooltip",
38 "memberOf" : "Roo.bootstrap.Component",
42 "name" : "container_method",
44 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
45 "memberOf" : "Roo.bootstrap.Component",
49 "name" : "visibilityEl",
50 "type" : "string|object",
51 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
52 "memberOf" : "Roo.bootstrap.Component",
59 "name" : "can_build_overlaid",
61 "desc" : "True if element can be rebuild from a HTML page",
62 "memberOf" : "Roo.bootstrap.Component",
68 "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\".",
69 "memberOf" : "Roo.Component",
78 "desc" : "any extra css",
79 "memberOf" : "Roo.bootstrap.Component",
83 "name" : "allowDomMove",
85 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
86 "memberOf" : "Roo.Component",
92 "desc" : "text of the item",
93 "memberOf" : "Roo.bootstrap.menu.Item",
97 "name" : "preventDefault",
99 "desc" : "e) default true",
100 "memberOf" : "Roo.bootstrap.menu.Item",
109 "desc" : "Submenu align to (left | right) default right",
110 "memberOf" : "Roo.bootstrap.menu.Item",
116 "desc" : "css class",
117 "memberOf" : "Roo.bootstrap.Component",
123 "desc" : "e) default false",
124 "memberOf" : "Roo.bootstrap.menu.Item",
133 "desc" : "e) default false",
134 "memberOf" : "Roo.bootstrap.menu.Item",
143 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
144 "memberOf" : "Roo.bootstrap.Component",
148 "name" : "actionMode",
150 "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",
151 "memberOf" : "Roo.Component",
157 "desc" : "Font awesome icon",
158 "memberOf" : "Roo.bootstrap.menu.Item",
164 "desc" : "cutomer id",
165 "memberOf" : "Roo.bootstrap.Component",
171 "desc" : "Specifies name attribute",
172 "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",
186 "memberOf" : "Roo.bootstrap.menu.Item",
192 "name" : "tooltipEl",
193 "desc" : "Fetch the element to display the tooltip on.",
195 "isConstructor" : false,
197 "memberOf" : "Roo.bootstrap.Component",
206 "type" : "Roo.Element",
207 "desc" : "defaults to this.el"
213 "desc" : "Hide a component - adds 'hidden' class",
215 "isConstructor" : false,
217 "memberOf" : "Roo.bootstrap.Component",
227 "desc" : "Show a component - removes 'hidden' class",
229 "isConstructor" : false,
231 "memberOf" : "Roo.bootstrap.Component",
240 "name" : "setVisibilityEl",
241 "desc" : "Set the element that will be used to show or hide",
243 "isConstructor" : false,
245 "memberOf" : "Roo.bootstrap.Component",
254 "name" : "getVisibilityEl",
255 "desc" : "Get the element that will be used to show or hide",
257 "isConstructor" : false,
259 "memberOf" : "Roo.bootstrap.Component",
268 "name" : "initEvents",
269 "desc" : "Initialize Events for the element",
271 "isConstructor" : false,
273 "memberOf" : "Roo.bootstrap.Component",
282 "name" : "getChildContainer",
283 "desc" : "Fetch the element to add children to",
285 "isConstructor" : false,
287 "memberOf" : "Roo.bootstrap.Component",
296 "type" : "Roo.Element",
297 "desc" : "defaults to this.el"
303 "desc" : "Returns the id of this component.",
305 "isConstructor" : false,
307 "memberOf" : "Roo.Component",
323 "desc" : "If this is a lazy rendering component, render it to its container element.",
325 "isConstructor" : false,
327 "memberOf" : "Roo.Component",
334 "name" : "container",
335 "type" : "String/HTMLElement/Element",
336 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
344 "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}.",
346 "isConstructor" : false,
348 "memberOf" : "Roo.Component",
357 "name" : "isVisible",
358 "desc" : "Returns true if this component is visible.",
360 "isConstructor" : false,
362 "memberOf" : "Roo.Component",
371 "name" : "setDisabled",
372 "desc" : "Convenience function for setting disabled/enabled by boolean.",
374 "isConstructor" : false,
376 "memberOf" : "Roo.Component",
393 "desc" : "Try to focus this component.",
395 "isConstructor" : false,
397 "memberOf" : "Roo.Component",
404 "name" : "selectText",
406 "desc" : "True to also select the text in this component (if applicable)",
413 "type" : "Roo.Component",
420 "desc" : "Enable this component.",
422 "isConstructor" : false,
424 "memberOf" : "Roo.Component",
433 "type" : "Roo.Component",
439 "name" : "setVisible",
440 "desc" : "Convenience function to hide or show this component by boolean.",
442 "isConstructor" : false,
444 "memberOf" : "Roo.Component",
453 "desc" : "True to show, false to hide",
460 "type" : "Roo.Component",
467 "desc" : "Disable this component.",
469 "isConstructor" : false,
471 "memberOf" : "Roo.Component",
480 "type" : "Roo.Component",
487 "desc" : "Returns the underlying {@link Roo.Element}.",
489 "isConstructor" : false,
491 "memberOf" : "Roo.Component",
500 "type" : "Roo.Element",
501 "desc" : "The element"
506 "name" : "purgeListeners",
507 "desc" : "Removes all listeners for this object",
509 "isConstructor" : false,
511 "memberOf" : "Roo.util.Observable",
521 "desc" : "Appends an event handler to this element (shorthand for addListener)",
523 "isConstructor" : false,
525 "memberOf" : "Roo.util.Observable",
532 "name" : "eventName",
534 "desc" : "The type of event to listen for",
540 "desc" : "The method the event invokes",
546 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
552 "desc" : "(optional)",
560 "desc" : "Removes a listener (shorthand for removeListener)",
562 "isConstructor" : false,
564 "memberOf" : "Roo.util.Observable",
571 "name" : "eventName",
573 "desc" : "The type of event to listen for",
579 "desc" : "The handler to remove",
585 "desc" : "(optional) The scope (this object) for the handler",
592 "name" : "addEvents",
593 "desc" : "Used to define events on this Observable",
595 "isConstructor" : false,
597 "memberOf" : "Roo.util.Observable",
606 "desc" : "The object with the events defined",
613 "name" : "releaseCapture",
614 "desc" : "Removes <b>all</b> added captures from the Observable.",
616 "isConstructor" : false,
618 "memberOf" : "Roo.util.Observable",
626 "type" : "Observable",
627 "desc" : "The Observable to release",
634 "name" : "removeListener",
635 "desc" : "Removes a listener",
637 "isConstructor" : false,
639 "memberOf" : "Roo.util.Observable",
646 "name" : "eventName",
648 "desc" : "The type of event to listen for",
654 "desc" : "The handler to remove",
660 "desc" : "(optional) The scope (this object) for the handler",
667 "name" : "fireEvent",
668 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
670 "isConstructor" : false,
672 "memberOf" : "Roo.util.Observable",
679 "name" : "eventName",
686 "type" : "Object...",
687 "desc" : "Variable number of parameters are passed to handlers",
695 "desc" : "returns false if any of the handlers return false otherwise it returns true"
700 "name" : "hasListener",
701 "desc" : "Checks to see if this object has any listeners for a specified event",
703 "isConstructor" : false,
705 "memberOf" : "Roo.util.Observable",
712 "name" : "eventName",
714 "desc" : "The name of the event to check for",
722 "desc" : "True if the event is being listened for, else false"
728 "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.",
730 "isConstructor" : false,
732 "memberOf" : "Roo.util.Observable",
740 "type" : "Observable",
741 "desc" : "The Observable to capture",
747 "desc" : "The function to call",
753 "desc" : "(optional) The scope (this object) for the fn",
760 "name" : "addListener",
761 "desc" : "Appends an event handler to this component",
763 "isConstructor" : false,
765 "memberOf" : "Roo.util.Observable",
772 "name" : "eventName",
774 "desc" : "The type of event to listen for",
780 "desc" : "The method the event invokes",
786 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
792 "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>",
801 "name" : "mouseover",
802 "desc" : "Fires when the mouse is hovering over this menu",
803 "memberOf" : "Roo.bootstrap.menu.Item",
811 "type" : "Roo.bootstrap.menu.Item",
817 "type" : "Roo.EventObject",
826 "desc" : "Fires when the mouse exits this menu",
827 "memberOf" : "Roo.bootstrap.menu.Item",
835 "type" : "Roo.bootstrap.menu.Item",
841 "type" : "Roo.EventObject",
850 "desc" : "The raw click event for the entire grid.",
851 "memberOf" : "Roo.bootstrap.menu.Item",
859 "type" : "Roo.EventObject",
867 "name" : "childrenrendered",
868 "desc" : "Fires when the children have been rendered..",
869 "memberOf" : "Roo.bootstrap.Component",
877 "type" : "Roo.bootstrap.Component",
885 "name" : "beforerender",
886 "desc" : "Fires before the component is rendered. Return false to stop the render.",
887 "memberOf" : "Roo.Component",
895 "type" : "Roo.Component",
904 "desc" : "Fires after the component is disabled.",
905 "memberOf" : "Roo.Component",
913 "type" : "Roo.Component",
922 "desc" : "Fires after the component is rendered.",
923 "memberOf" : "Roo.Component",
931 "type" : "Roo.Component",
940 "desc" : "Fires after the component is destroyed.",
941 "memberOf" : "Roo.Component",
949 "type" : "Roo.Component",
958 "desc" : "Fires after the component is hidden.",
959 "memberOf" : "Roo.Component",
967 "type" : "Roo.Component",
975 "name" : "beforehide",
976 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
977 "memberOf" : "Roo.Component",
985 "type" : "Roo.Component",
994 "desc" : "Fires after the component is shown.",
995 "memberOf" : "Roo.Component",
1003 "type" : "Roo.Component",
1005 "isOptional" : false
1011 "name" : "beforeshow",
1012 "desc" : "Fires before the component is shown. Return false to stop the show.",
1013 "memberOf" : "Roo.Component",
1021 "type" : "Roo.Component",
1023 "isOptional" : false
1030 "desc" : "Fires after the component is enabled.",
1031 "memberOf" : "Roo.Component",
1039 "type" : "Roo.Component",
1041 "isOptional" : false
1047 "name" : "beforedestroy",
1048 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1049 "memberOf" : "Roo.Component",
1057 "type" : "Roo.Component",
1059 "isOptional" : false