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",
225 "name" : "updatePosition",
226 "desc" : "fire this manually after loading a grid in the table for example",
228 "isConstructor" : false,
230 "memberOf" : "Roo.bootstrap.Popover",
237 "name" : "(left|right|top|bottom)",
239 "desc" : "where to try and put it (use false to use the last one)",
245 "desc" : "and move it if we cant get right position.",
253 "desc" : "Show the popover",
255 "isConstructor" : false,
257 "memberOf" : "Roo.bootstrap.Popover",
265 "type" : "Roo.Element|string|Boolean",
266 "desc" : "element to align and point to. (set align to [ pos, offset ])",
270 "name" : "(left|right|top|bottom)",
279 "name" : "tooltipEl",
280 "desc" : "Fetch the element to display the tooltip on.",
282 "isConstructor" : false,
284 "memberOf" : "Roo.bootstrap.Component",
293 "type" : "Roo.Element",
294 "desc" : "defaults to this.el"
300 "desc" : "Hide a component - adds 'hidden' class",
302 "isConstructor" : false,
304 "memberOf" : "Roo.bootstrap.Component",
313 "name" : "setVisibilityEl",
314 "desc" : "Set the element that will be used to show or hide",
316 "isConstructor" : false,
318 "memberOf" : "Roo.bootstrap.Component",
327 "name" : "getVisibilityEl",
328 "desc" : "Get the element that will be used to show or hide",
330 "isConstructor" : false,
332 "memberOf" : "Roo.bootstrap.Component",
341 "name" : "initEvents",
342 "desc" : "Initialize Events for the element",
344 "isConstructor" : false,
346 "memberOf" : "Roo.bootstrap.Component",
355 "name" : "getChildContainer",
356 "desc" : "Fetch the element to add children to",
358 "isConstructor" : false,
360 "memberOf" : "Roo.bootstrap.Component",
369 "type" : "Roo.Element",
370 "desc" : "defaults to this.el"
376 "desc" : "Returns the id of this component.",
378 "isConstructor" : false,
380 "memberOf" : "Roo.Component",
396 "desc" : "If this is a lazy rendering component, render it to its container element.",
398 "isConstructor" : false,
400 "memberOf" : "Roo.Component",
407 "name" : "container",
408 "type" : "String/HTMLElement/Element",
409 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
417 "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}.",
419 "isConstructor" : false,
421 "memberOf" : "Roo.Component",
430 "name" : "isVisible",
431 "desc" : "Returns true if this component is visible.",
433 "isConstructor" : false,
435 "memberOf" : "Roo.Component",
444 "name" : "setDisabled",
445 "desc" : "Convenience function for setting disabled/enabled by boolean.",
447 "isConstructor" : false,
449 "memberOf" : "Roo.Component",
466 "desc" : "Try to focus this component.",
468 "isConstructor" : false,
470 "memberOf" : "Roo.Component",
477 "name" : "selectText",
479 "desc" : "True to also select the text in this component (if applicable)",
486 "type" : "Roo.Component",
493 "desc" : "Enable this component.",
495 "isConstructor" : false,
497 "memberOf" : "Roo.Component",
506 "type" : "Roo.Component",
512 "name" : "setVisible",
513 "desc" : "Convenience function to hide or show this component by boolean.",
515 "isConstructor" : false,
517 "memberOf" : "Roo.Component",
526 "desc" : "True to show, false to hide",
533 "type" : "Roo.Component",
540 "desc" : "Disable this component.",
542 "isConstructor" : false,
544 "memberOf" : "Roo.Component",
553 "type" : "Roo.Component",
560 "desc" : "Returns the underlying {@link Roo.Element}.",
562 "isConstructor" : false,
564 "memberOf" : "Roo.Component",
573 "type" : "Roo.Element",
574 "desc" : "The element"
579 "name" : "purgeListeners",
580 "desc" : "Removes all listeners for this object",
582 "isConstructor" : false,
584 "memberOf" : "Roo.util.Observable",
594 "desc" : "Appends an event handler to this element (shorthand for addListener)",
596 "isConstructor" : false,
598 "memberOf" : "Roo.util.Observable",
605 "name" : "eventName",
607 "desc" : "The type of event to listen for",
613 "desc" : "The method the event invokes",
619 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
625 "desc" : "(optional)",
633 "desc" : "Removes a listener (shorthand for removeListener)",
635 "isConstructor" : false,
637 "memberOf" : "Roo.util.Observable",
644 "name" : "eventName",
646 "desc" : "The type of event to listen for",
652 "desc" : "The handler to remove",
658 "desc" : "(optional) The scope (this object) for the handler",
665 "name" : "addEvents",
666 "desc" : "Used to define events on this Observable",
668 "isConstructor" : false,
670 "memberOf" : "Roo.util.Observable",
679 "desc" : "The object with the events defined",
686 "name" : "releaseCapture",
687 "desc" : "Removes <b>all</b> added captures from the Observable.",
689 "isConstructor" : false,
691 "memberOf" : "Roo.util.Observable",
699 "type" : "Observable",
700 "desc" : "The Observable to release",
707 "name" : "removeListener",
708 "desc" : "Removes a listener",
710 "isConstructor" : false,
712 "memberOf" : "Roo.util.Observable",
719 "name" : "eventName",
721 "desc" : "The type of event to listen for",
727 "desc" : "The handler to remove",
733 "desc" : "(optional) The scope (this object) for the handler",
740 "name" : "fireEvent",
741 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
743 "isConstructor" : false,
745 "memberOf" : "Roo.util.Observable",
752 "name" : "eventName",
759 "type" : "Object...",
760 "desc" : "Variable number of parameters are passed to handlers",
768 "desc" : "returns false if any of the handlers return false otherwise it returns true"
773 "name" : "hasListener",
774 "desc" : "Checks to see if this object has any listeners for a specified event",
776 "isConstructor" : false,
778 "memberOf" : "Roo.util.Observable",
785 "name" : "eventName",
787 "desc" : "The name of the event to check for",
795 "desc" : "True if the event is being listened for, else false"
801 "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.",
803 "isConstructor" : false,
805 "memberOf" : "Roo.util.Observable",
813 "type" : "Observable",
814 "desc" : "The Observable to capture",
820 "desc" : "The function to call",
826 "desc" : "(optional) The scope (this object) for the fn",
833 "name" : "addListener",
834 "desc" : "Appends an event handler to this component",
836 "isConstructor" : false,
838 "memberOf" : "Roo.util.Observable",
845 "name" : "eventName",
847 "desc" : "The type of event to listen for",
853 "desc" : "The method the event invokes",
859 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
865 "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>",
875 "desc" : "After the popover hide",
876 "memberOf" : "Roo.bootstrap.Popover",
884 "type" : "Roo.bootstrap.Popover",
893 "desc" : "After the popover show",
894 "memberOf" : "Roo.bootstrap.Popover",
902 "type" : "Roo.bootstrap.Popover",
910 "name" : "childrenrendered",
911 "desc" : "Fires when the children have been rendered..",
912 "memberOf" : "Roo.bootstrap.Component",
920 "type" : "Roo.bootstrap.Component",
928 "name" : "beforerender",
929 "desc" : "Fires before the component is rendered. Return false to stop the render.",
930 "memberOf" : "Roo.Component",
938 "type" : "Roo.Component",
947 "desc" : "Fires after the component is disabled.",
948 "memberOf" : "Roo.Component",
956 "type" : "Roo.Component",
965 "desc" : "Fires after the component is rendered.",
966 "memberOf" : "Roo.Component",
974 "type" : "Roo.Component",
983 "desc" : "Fires after the component is destroyed.",
984 "memberOf" : "Roo.Component",
992 "type" : "Roo.Component",
1000 "name" : "beforehide",
1001 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1002 "memberOf" : "Roo.Component",
1010 "type" : "Roo.Component",
1012 "isOptional" : false
1018 "name" : "beforeshow",
1019 "desc" : "Fires before the component is shown. Return false to stop the show.",
1020 "memberOf" : "Roo.Component",
1028 "type" : "Roo.Component",
1030 "isOptional" : false
1037 "desc" : "Fires after the component is enabled.",
1038 "memberOf" : "Roo.Component",
1046 "type" : "Roo.Component",
1048 "isOptional" : false
1054 "name" : "beforedestroy",
1055 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1056 "memberOf" : "Roo.Component",
1064 "type" : "Roo.Component",
1066 "isOptional" : false