2 "name" : "Roo.bootstrap.NavItem",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Navbar.NavItem 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" : "render as a href or span?",
25 "memberOf" : "Roo.bootstrap.NavItem",
32 "name" : "animateRef",
34 "desc" : "link to element default false",
35 "memberOf" : "Roo.bootstrap.NavItem",
44 "desc" : "Text for the tooltip",
45 "memberOf" : "Roo.bootstrap.Component",
50 "name" : "container_method",
52 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
53 "memberOf" : "Roo.bootstrap.Component",
58 "name" : "visibilityEl",
59 "type" : "string|object",
60 "desc" : "What element to use for visibility (@see getVisibilityEl())",
61 "memberOf" : "Roo.bootstrap.Component",
70 "desc" : "the tab that this item activates.",
71 "memberOf" : "Roo.bootstrap.NavItem",
76 "name" : "can_build_overlaid",
78 "desc" : "True if element can be rebuild from a HTML page",
79 "memberOf" : "Roo.bootstrap.Component",
86 "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\".",
87 "memberOf" : "Roo.Component",
96 "desc" : "text inside badge",
97 "memberOf" : "Roo.bootstrap.NavItem",
104 "desc" : "Is item disabled",
105 "memberOf" : "Roo.bootstrap.NavItem",
112 "desc" : "any extra css",
113 "memberOf" : "Roo.bootstrap.Component",
118 "name" : "allowDomMove",
120 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
121 "memberOf" : "Roo.Component",
128 "desc" : "content of button",
129 "memberOf" : "Roo.bootstrap.NavItem",
134 "name" : "preventDefault",
136 "desc" : "default false",
137 "memberOf" : "Roo.bootstrap.NavItem",
146 "desc" : "css class",
147 "memberOf" : "Roo.bootstrap.Component",
152 "name" : "glyphicon",
154 "desc" : "DEPRICATED - use fa",
155 "memberOf" : "Roo.bootstrap.NavItem",
162 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
163 "memberOf" : "Roo.bootstrap.Component",
168 "name" : "actionMode",
170 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
171 "memberOf" : "Roo.Component",
178 "desc" : "DEPRICATED - use fa",
179 "memberOf" : "Roo.bootstrap.NavItem",
186 "desc" : "the extra classes for the badge",
187 "memberOf" : "Roo.bootstrap.NavItem",
197 "desc" : "cutomer id",
198 "memberOf" : "Roo.bootstrap.Component",
203 "name" : "button_weight",
205 "desc" : "default none",
206 "memberOf" : "Roo.bootstrap.NavItem",
221 "desc" : "- Fontawsome icon name (can add stuff to it like fa-2x)",
222 "memberOf" : "Roo.bootstrap.NavItem",
229 "desc" : "Is item active",
230 "memberOf" : "Roo.bootstrap.NavItem",
237 "desc" : "Specifies name attribute",
238 "memberOf" : "Roo.bootstrap.Component",
243 "name" : "disableClass",
245 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
246 "memberOf" : "Roo.Component",
254 "memberOf" : "Roo.bootstrap.NavItem",
261 "name" : "tooltipEl",
262 "desc" : "Fetch the element to display the tooltip on.",
264 "isConstructor" : false,
266 "memberOf" : "Roo.bootstrap.NavItem",
276 "type" : "Roo.Element",
277 "desc" : "defaults to this.el"
283 "desc" : "Hide a component - adds 'hidden' class",
285 "isConstructor" : false,
287 "memberOf" : "Roo.bootstrap.Component",
299 "desc" : "Show a component - removes 'hidden' class",
301 "isConstructor" : false,
303 "memberOf" : "Roo.bootstrap.Component",
314 "name" : "setVisibilityEl",
315 "desc" : "Set the element that will be used to show or hide",
317 "isConstructor" : false,
319 "memberOf" : "Roo.bootstrap.Component",
330 "name" : "getVisibilityEl",
331 "desc" : "Get the element that will be used to show or hide",
333 "isConstructor" : false,
335 "memberOf" : "Roo.bootstrap.Component",
346 "name" : "initEvents",
347 "desc" : "Initialize Events for the element",
349 "isConstructor" : false,
351 "memberOf" : "Roo.bootstrap.Component",
362 "name" : "getChildContainer",
363 "desc" : "Fetch the element to add children to",
365 "isConstructor" : false,
367 "memberOf" : "Roo.bootstrap.Component",
377 "type" : "Roo.Element",
378 "desc" : "defaults to this.el"
384 "desc" : "Returns the id of this component.",
386 "isConstructor" : false,
388 "memberOf" : "Roo.Component",
405 "desc" : "If this is a lazy rendering component, render it to its container element.",
407 "isConstructor" : false,
409 "memberOf" : "Roo.Component",
416 "name" : "container",
417 "type" : "String/HTMLElement/Element",
418 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
427 "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}.",
429 "isConstructor" : false,
431 "memberOf" : "Roo.Component",
442 "name" : "isVisible",
443 "desc" : "Returns true if this component is visible.",
445 "isConstructor" : false,
447 "memberOf" : "Roo.Component",
458 "name" : "setDisabled",
459 "desc" : "Convenience function for setting disabled/enabled by boolean.",
461 "isConstructor" : false,
463 "memberOf" : "Roo.Component",
481 "desc" : "Try to focus this component.",
483 "isConstructor" : false,
485 "memberOf" : "Roo.Component",
492 "name" : "selectText",
494 "desc" : "True to also select the text in this component (if applicable)",
501 "type" : "Roo.Component",
508 "desc" : "Enable this component.",
510 "isConstructor" : false,
512 "memberOf" : "Roo.Component",
522 "type" : "Roo.Component",
528 "name" : "setVisible",
529 "desc" : "Convenience function to hide or show this component by boolean.",
531 "isConstructor" : false,
533 "memberOf" : "Roo.Component",
542 "desc" : "True to show, false to hide",
549 "type" : "Roo.Component",
556 "desc" : "Disable this component.",
558 "isConstructor" : false,
560 "memberOf" : "Roo.Component",
570 "type" : "Roo.Component",
577 "desc" : "Returns the underlying {@link Roo.Element}.",
579 "isConstructor" : false,
581 "memberOf" : "Roo.Component",
591 "type" : "Roo.Element",
592 "desc" : "The element"
597 "name" : "purgeListeners",
598 "desc" : "Removes all listeners for this object",
600 "isConstructor" : false,
602 "memberOf" : "Roo.util.Observable",
614 "desc" : "Appends an event handler to this element (shorthand for addListener)",
616 "isConstructor" : false,
618 "memberOf" : "Roo.util.Observable",
625 "name" : "eventName",
627 "desc" : "The type of event to listen for",
633 "desc" : "The method the event invokes",
639 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
645 "desc" : "(optional)",
654 "desc" : "Removes a listener (shorthand for removeListener)",
656 "isConstructor" : false,
658 "memberOf" : "Roo.util.Observable",
665 "name" : "eventName",
667 "desc" : "The type of event to listen for",
673 "desc" : "The handler to remove",
679 "desc" : "(optional) The scope (this object) for the handler",
687 "name" : "addEvents",
688 "desc" : "Used to define events on this Observable",
690 "isConstructor" : false,
692 "memberOf" : "Roo.util.Observable",
701 "desc" : "The object with the events defined",
709 "name" : "releaseCapture",
710 "desc" : "Removes <b>all</b> added captures from the Observable.",
712 "isConstructor" : false,
714 "memberOf" : "Roo.util.Observable",
722 "type" : "Observable",
723 "desc" : "The Observable to release",
731 "name" : "removeListener",
732 "desc" : "Removes a listener",
734 "isConstructor" : false,
736 "memberOf" : "Roo.util.Observable",
743 "name" : "eventName",
745 "desc" : "The type of event to listen for",
751 "desc" : "The handler to remove",
757 "desc" : "(optional) The scope (this object) for the handler",
765 "name" : "fireEvent",
766 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
768 "isConstructor" : false,
770 "memberOf" : "Roo.util.Observable",
777 "name" : "eventName",
784 "type" : "Object...",
785 "desc" : "Variable number of parameters are passed to handlers",
793 "desc" : "returns false if any of the handlers return false otherwise it returns true"
798 "name" : "hasListener",
799 "desc" : "Checks to see if this object has any listeners for a specified event",
801 "isConstructor" : false,
803 "memberOf" : "Roo.util.Observable",
810 "name" : "eventName",
812 "desc" : "The name of the event to check for",
820 "desc" : "True if the event is being listened for, else false"
826 "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.",
828 "isConstructor" : false,
830 "memberOf" : "Roo.util.Observable",
838 "type" : "Observable",
839 "desc" : "The Observable to capture",
845 "desc" : "The function to call",
851 "desc" : "(optional) The scope (this object) for the fn",
859 "name" : "addListener",
860 "desc" : "Appends an event handler to this component",
862 "isConstructor" : false,
864 "memberOf" : "Roo.util.Observable",
871 "name" : "eventName",
873 "desc" : "The type of event to listen for",
879 "desc" : "The method the event invokes",
885 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
891 "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>",
902 "desc" : "Fires when the active item active state changes",
911 "type" : "Roo.bootstrap.NavItem",
918 "desc" : "the new state",
927 "desc" : "Fires when scroll to element",
936 "type" : "Roo.bootstrap.NavItem",
948 "type" : "Roo.EventObject",
958 "desc" : "The raw click event for the entire grid.",
967 "type" : "Roo.EventObject",
976 "name" : "childrenrendered",
977 "desc" : "Fires when the children have been rendered..",
978 "memberOf" : "Roo.bootstrap.Component",
986 "type" : "Roo.bootstrap.Component",
995 "name" : "beforerender",
996 "desc" : "Fires before the component is rendered. Return false to stop the render.",
997 "memberOf" : "Roo.Component",
1005 "type" : "Roo.Component",
1007 "isOptional" : false
1015 "desc" : "Fires after the component is disabled.",
1016 "memberOf" : "Roo.Component",
1024 "type" : "Roo.Component",
1026 "isOptional" : false
1034 "desc" : "Fires after the component is rendered.",
1035 "memberOf" : "Roo.Component",
1043 "type" : "Roo.Component",
1045 "isOptional" : false
1053 "desc" : "Fires after the component is destroyed.",
1054 "memberOf" : "Roo.Component",
1062 "type" : "Roo.Component",
1064 "isOptional" : false
1072 "desc" : "Fires after the component is hidden.",
1073 "memberOf" : "Roo.Component",
1081 "type" : "Roo.Component",
1083 "isOptional" : false
1090 "name" : "beforehide",
1091 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1092 "memberOf" : "Roo.Component",
1100 "type" : "Roo.Component",
1102 "isOptional" : false
1110 "desc" : "Fires after the component is shown.",
1111 "memberOf" : "Roo.Component",
1119 "type" : "Roo.Component",
1121 "isOptional" : false
1128 "name" : "beforeshow",
1129 "desc" : "Fires before the component is shown. Return false to stop the show.",
1130 "memberOf" : "Roo.Component",
1138 "type" : "Roo.Component",
1140 "isOptional" : false
1148 "desc" : "Fires after the component is enabled.",
1149 "memberOf" : "Roo.Component",
1157 "type" : "Roo.Component",
1159 "isOptional" : false
1166 "name" : "beforedestroy",
1167 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1168 "memberOf" : "Roo.Component",
1176 "type" : "Roo.Component",
1178 "isOptional" : false