2 "name" : "Roo.bootstrap.Popover",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Popover class",
12 "memberOf" : "Popover",
21 "desc" : "The config object",
30 "desc" : "- popovers that are modal will mask the screen, and must be closed with another event.",
31 "memberOf" : "Roo.bootstrap.Popover",
37 "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>",
38 "memberOf" : "Roo.util.Observable",
43 "type" : "String|Boolean|Roo.Element",
44 "desc" : "click hander to trigger show over what element\n - if false and it has a 'parent' then it will be automatically added to that element\n - if string - Roo.get will be called",
45 "memberOf" : "Roo.bootstrap.Popover",
51 "desc" : "Text for the tooltip",
52 "memberOf" : "Roo.bootstrap.Component",
56 "name" : "container_method",
58 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
59 "memberOf" : "Roo.bootstrap.Component",
63 "name" : "visibilityEl",
64 "type" : "string|object",
65 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
66 "memberOf" : "Roo.bootstrap.Component",
75 "desc" : "- delay before showing",
76 "memberOf" : "Roo.bootstrap.Popover",
82 "desc" : "click || hover (or false to trigger manually)",
83 "memberOf" : "Roo.bootstrap.Popover",
87 "name" : "can_build_overlaid",
89 "desc" : "True if element can be rebuild from a HTML page",
90 "memberOf" : "Roo.bootstrap.Component",
96 "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\".",
97 "memberOf" : "Roo.Component",
106 "desc" : "of popover (or false to hide)",
107 "memberOf" : "Roo.bootstrap.Popover",
113 "desc" : "any extra css",
114 "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",
125 "name" : "(right|top|bottom|left|auto)",
126 "type" : "String|function",
127 "desc" : "placement how it is placed",
128 "memberOf" : "Roo.bootstrap.Popover",
134 "desc" : "contents of the popover (or false to use children..)",
135 "memberOf" : "Roo.bootstrap.Popover",
141 "desc" : "css class",
142 "memberOf" : "Roo.bootstrap.Component",
148 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
149 "memberOf" : "Roo.bootstrap.Component",
153 "name" : "actionMode",
155 "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",
156 "memberOf" : "Roo.Component",
162 "desc" : "cutomer id",
163 "memberOf" : "Roo.bootstrap.Component",
169 "desc" : "Specifies name attribute",
170 "memberOf" : "Roo.bootstrap.Component",
174 "name" : "disableClass",
176 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
177 "memberOf" : "Roo.Component",
183 "name" : "setContent",
186 "isConstructor" : false,
188 "memberOf" : "Roo.bootstrap.Popover",
197 "desc" : "body content",
207 "isConstructor" : false,
209 "memberOf" : "Roo.bootstrap.Popover",
226 "desc" : "Show the popover",
228 "isConstructor" : false,
230 "memberOf" : "Roo.bootstrap.Popover",
238 "type" : "Roo.Element|string|false",
239 "desc" : "element to align and point to.",
246 "name" : "tooltipEl",
247 "desc" : "Fetch the element to display the tooltip on.",
249 "isConstructor" : false,
251 "memberOf" : "Roo.bootstrap.Component",
260 "type" : "Roo.Element",
261 "desc" : "defaults to this.el"
267 "desc" : "Hide a component - adds 'hidden' class",
269 "isConstructor" : false,
271 "memberOf" : "Roo.bootstrap.Component",
280 "name" : "setVisibilityEl",
281 "desc" : "Set the element that will be used to show or hide",
283 "isConstructor" : false,
285 "memberOf" : "Roo.bootstrap.Component",
294 "name" : "getVisibilityEl",
295 "desc" : "Get the element that will be used to show or hide",
297 "isConstructor" : false,
299 "memberOf" : "Roo.bootstrap.Component",
308 "name" : "initEvents",
309 "desc" : "Initialize Events for the element",
311 "isConstructor" : false,
313 "memberOf" : "Roo.bootstrap.Component",
322 "name" : "getChildContainer",
323 "desc" : "Fetch the element to add children to",
325 "isConstructor" : false,
327 "memberOf" : "Roo.bootstrap.Component",
336 "type" : "Roo.Element",
337 "desc" : "defaults to this.el"
343 "desc" : "Returns the id of this component.",
345 "isConstructor" : false,
347 "memberOf" : "Roo.Component",
363 "desc" : "If this is a lazy rendering component, render it to its container element.",
365 "isConstructor" : false,
367 "memberOf" : "Roo.Component",
374 "name" : "container",
375 "type" : "String/HTMLElement/Element",
376 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
384 "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}.",
386 "isConstructor" : false,
388 "memberOf" : "Roo.Component",
397 "name" : "isVisible",
398 "desc" : "Returns true if this component is visible.",
400 "isConstructor" : false,
402 "memberOf" : "Roo.Component",
411 "name" : "setDisabled",
412 "desc" : "Convenience function for setting disabled/enabled by boolean.",
414 "isConstructor" : false,
416 "memberOf" : "Roo.Component",
433 "desc" : "Try to focus this component.",
435 "isConstructor" : false,
437 "memberOf" : "Roo.Component",
444 "name" : "selectText",
446 "desc" : "True to also select the text in this component (if applicable)",
453 "type" : "Roo.Component",
460 "desc" : "Enable this component.",
462 "isConstructor" : false,
464 "memberOf" : "Roo.Component",
473 "type" : "Roo.Component",
479 "name" : "setVisible",
480 "desc" : "Convenience function to hide or show this component by boolean.",
482 "isConstructor" : false,
484 "memberOf" : "Roo.Component",
493 "desc" : "True to show, false to hide",
500 "type" : "Roo.Component",
507 "desc" : "Disable this component.",
509 "isConstructor" : false,
511 "memberOf" : "Roo.Component",
520 "type" : "Roo.Component",
527 "desc" : "Returns the underlying {@link Roo.Element}.",
529 "isConstructor" : false,
531 "memberOf" : "Roo.Component",
540 "type" : "Roo.Element",
541 "desc" : "The element"
546 "name" : "purgeListeners",
547 "desc" : "Removes all listeners for this object",
549 "isConstructor" : false,
551 "memberOf" : "Roo.util.Observable",
561 "desc" : "Appends an event handler to this element (shorthand for addListener)",
563 "isConstructor" : false,
565 "memberOf" : "Roo.util.Observable",
572 "name" : "eventName",
574 "desc" : "The type of event to listen for",
580 "desc" : "The method the event invokes",
586 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
592 "desc" : "(optional)",
600 "desc" : "Removes a listener (shorthand for removeListener)",
602 "isConstructor" : false,
604 "memberOf" : "Roo.util.Observable",
611 "name" : "eventName",
613 "desc" : "The type of event to listen for",
619 "desc" : "The handler to remove",
625 "desc" : "(optional) The scope (this object) for the handler",
632 "name" : "addEvents",
633 "desc" : "Used to define events on this Observable",
635 "isConstructor" : false,
637 "memberOf" : "Roo.util.Observable",
646 "desc" : "The object with the events defined",
653 "name" : "releaseCapture",
654 "desc" : "Removes <b>all</b> added captures from the Observable.",
656 "isConstructor" : false,
658 "memberOf" : "Roo.util.Observable",
666 "type" : "Observable",
667 "desc" : "The Observable to release",
674 "name" : "removeListener",
675 "desc" : "Removes a listener",
677 "isConstructor" : false,
679 "memberOf" : "Roo.util.Observable",
686 "name" : "eventName",
688 "desc" : "The type of event to listen for",
694 "desc" : "The handler to remove",
700 "desc" : "(optional) The scope (this object) for the handler",
707 "name" : "fireEvent",
708 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
710 "isConstructor" : false,
712 "memberOf" : "Roo.util.Observable",
719 "name" : "eventName",
726 "type" : "Object...",
727 "desc" : "Variable number of parameters are passed to handlers",
735 "desc" : "returns false if any of the handlers return false otherwise it returns true"
740 "name" : "hasListener",
741 "desc" : "Checks to see if this object has any listeners for a specified event",
743 "isConstructor" : false,
745 "memberOf" : "Roo.util.Observable",
752 "name" : "eventName",
754 "desc" : "The name of the event to check for",
762 "desc" : "True if the event is being listened for, else false"
768 "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.",
770 "isConstructor" : false,
772 "memberOf" : "Roo.util.Observable",
780 "type" : "Observable",
781 "desc" : "The Observable to capture",
787 "desc" : "The function to call",
793 "desc" : "(optional) The scope (this object) for the fn",
800 "name" : "addListener",
801 "desc" : "Appends an event handler to this component",
803 "isConstructor" : false,
805 "memberOf" : "Roo.util.Observable",
812 "name" : "eventName",
814 "desc" : "The type of event to listen for",
820 "desc" : "The method the event invokes",
826 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
832 "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>",
842 "desc" : "After the popover hide",
843 "memberOf" : "Roo.bootstrap.Popover",
851 "type" : "Roo.bootstrap.Popover",
860 "desc" : "After the popover show",
861 "memberOf" : "Roo.bootstrap.Popover",
869 "type" : "Roo.bootstrap.Popover",
877 "name" : "childrenrendered",
878 "desc" : "Fires when the children have been rendered..",
879 "memberOf" : "Roo.bootstrap.Component",
887 "type" : "Roo.bootstrap.Component",
895 "name" : "beforerender",
896 "desc" : "Fires before the component is rendered. Return false to stop the render.",
897 "memberOf" : "Roo.Component",
905 "type" : "Roo.Component",
914 "desc" : "Fires after the component is disabled.",
915 "memberOf" : "Roo.Component",
923 "type" : "Roo.Component",
932 "desc" : "Fires after the component is rendered.",
933 "memberOf" : "Roo.Component",
941 "type" : "Roo.Component",
950 "desc" : "Fires after the component is destroyed.",
951 "memberOf" : "Roo.Component",
959 "type" : "Roo.Component",
967 "name" : "beforehide",
968 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
969 "memberOf" : "Roo.Component",
977 "type" : "Roo.Component",
985 "name" : "beforeshow",
986 "desc" : "Fires before the component is shown. Return false to stop the show.",
987 "memberOf" : "Roo.Component",
995 "type" : "Roo.Component",
1004 "desc" : "Fires after the component is enabled.",
1005 "memberOf" : "Roo.Component",
1013 "type" : "Roo.Component",
1015 "isOptional" : false
1021 "name" : "beforedestroy",
1022 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1023 "memberOf" : "Roo.Component",
1031 "type" : "Roo.Component",
1033 "isOptional" : false