2 "name" : "Roo.bootstrap.Popover",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Popover class",
12 "memberOf" : "Popover",
21 "desc" : "The config object",
32 "desc" : "- popovers that are modal will mask the screen, and must be closed with another event.",
38 "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>",
39 "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",
50 "desc" : "Text for the tooltip",
51 "memberOf" : "Roo.bootstrap.Component"
54 "name" : "container_method",
56 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
57 "memberOf" : "Roo.bootstrap.Component"
60 "name" : "visibilityEl",
61 "type" : "string|object",
62 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
63 "memberOf" : "Roo.bootstrap.Component"
68 "desc" : "- delay before showing",
74 "desc" : "click || hover (or false to trigger manually)",
78 "name" : "can_build_overlaid",
80 "desc" : "True if element can be rebuild from a HTML page",
81 "memberOf" : "Roo.bootstrap.Component"
86 "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\".",
87 "memberOf" : "Roo.Component"
92 "desc" : "of popover (or false to hide)",
98 "desc" : "any extra css",
99 "memberOf" : "Roo.bootstrap.Component"
102 "name" : "allowDomMove",
104 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
105 "memberOf" : "Roo.Component"
108 "name" : "(right|top|bottom|left|auto)",
109 "type" : "String|function",
110 "desc" : "placement how it is placed",
116 "desc" : "contents of the popover (or false to use children..)",
122 "desc" : "css class",
123 "memberOf" : "Roo.bootstrap.Component"
128 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
129 "memberOf" : "Roo.bootstrap.Component"
132 "name" : "actionMode",
134 "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",
135 "memberOf" : "Roo.Component"
140 "desc" : "cutomer id",
141 "memberOf" : "Roo.bootstrap.Component"
146 "desc" : "Specifies name attribute",
147 "memberOf" : "Roo.bootstrap.Component"
150 "name" : "disableClass",
152 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
153 "memberOf" : "Roo.Component"
158 "name" : "setContent",
165 "isConstructor" : false,
177 "desc" : "body content",
191 "isConstructor" : false,
210 "name" : "updatePosition",
212 "desc" : "fire this manually after loading a grid in the table for example",
213 "sig" : "((left|right|top|bottom), try)",
217 "isConstructor" : false,
227 "name" : "(left|right|top|bottom)",
229 "desc" : "where to try and put it (use false to use the last one)",
235 "desc" : "and move it if we cant get right position.",
244 "desc" : "Show the popover",
245 "sig" : "(-, (left|right|top|bottom))",
249 "isConstructor" : false,
260 "type" : "Roo.Element|string|Boolean",
261 "desc" : "element to align and point to. (set align to [ pos, offset ])",
265 "name" : "(left|right|top|bottom)",
274 "name" : "tooltipEl",
276 "desc" : "Fetch the element to display the tooltip on.",
277 "sig" : "()\n{\n\n}",
279 "memberOf" : "Roo.bootstrap.Component",
281 "isConstructor" : false,
293 "type" : "Roo.Element",
294 "desc" : "defaults to this.el"
301 "desc" : "Hide a component - adds 'hidden' class",
302 "sig" : "()\n{\n\n}",
304 "memberOf" : "Roo.bootstrap.Component",
306 "isConstructor" : false,
318 "name" : "setVisibilityEl",
320 "desc" : "Set the element that will be used to show or hide",
321 "sig" : "()\n{\n\n}",
323 "memberOf" : "Roo.bootstrap.Component",
325 "isConstructor" : false,
337 "name" : "getVisibilityEl",
339 "desc" : "Get the element that will be used to show or hide",
340 "sig" : "()\n{\n\n}",
342 "memberOf" : "Roo.bootstrap.Component",
344 "isConstructor" : false,
356 "name" : "initEvents",
358 "desc" : "Initialize Events for the element",
359 "sig" : "()\n{\n\n}",
361 "memberOf" : "Roo.bootstrap.Component",
363 "isConstructor" : false,
375 "name" : "getChildContainer",
377 "desc" : "Fetch the element to add children to",
378 "sig" : "()\n{\n\n}",
380 "memberOf" : "Roo.bootstrap.Component",
382 "isConstructor" : false,
394 "type" : "Roo.Element",
395 "desc" : "defaults to this.el"
402 "desc" : "Returns the id of this component.",
403 "sig" : "()\n{\n\n}",
405 "memberOf" : "Roo.Component",
407 "isConstructor" : false,
427 "desc" : "If this is a lazy rendering component, render it to its container element.",
428 "sig" : "(container)",
430 "memberOf" : "Roo.Component",
432 "isConstructor" : false,
442 "name" : "container",
443 "type" : "String/HTMLElement/Element",
444 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
453 "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}.",
454 "sig" : "()\n{\n\n}",
456 "memberOf" : "Roo.Component",
458 "isConstructor" : false,
470 "name" : "isVisible",
472 "desc" : "Returns true if this component is visible.",
473 "sig" : "()\n{\n\n}",
475 "memberOf" : "Roo.Component",
477 "isConstructor" : false,
489 "name" : "setDisabled",
491 "desc" : "Convenience function for setting disabled/enabled by boolean.",
492 "sig" : "(disabled)",
494 "memberOf" : "Roo.Component",
496 "isConstructor" : false,
517 "desc" : "Try to focus this component.",
518 "sig" : "(selectText)",
520 "memberOf" : "Roo.Component",
522 "isConstructor" : false,
532 "name" : "selectText",
534 "desc" : "True to also select the text in this component (if applicable)",
541 "type" : "Roo.Component",
549 "desc" : "Enable this component.",
550 "sig" : "()\n{\n\n}",
552 "memberOf" : "Roo.Component",
554 "isConstructor" : false,
566 "type" : "Roo.Component",
572 "name" : "setVisible",
574 "desc" : "Convenience function to hide or show this component by boolean.",
577 "memberOf" : "Roo.Component",
579 "isConstructor" : false,
591 "desc" : "True to show, false to hide",
598 "type" : "Roo.Component",
606 "desc" : "Disable this component.",
607 "sig" : "()\n{\n\n}",
609 "memberOf" : "Roo.Component",
611 "isConstructor" : false,
623 "type" : "Roo.Component",
631 "desc" : "Returns the underlying {@link Roo.Element}.",
632 "sig" : "()\n{\n\n}",
634 "memberOf" : "Roo.Component",
636 "isConstructor" : false,
648 "type" : "Roo.Element",
649 "desc" : "The element"
654 "name" : "purgeListeners",
656 "desc" : "Removes all listeners for this object",
657 "sig" : "()\n{\n\n}",
659 "memberOf" : "Roo.util.Observable",
661 "isConstructor" : false,
675 "desc" : "Appends an event handler to this element (shorthand for addListener)",
676 "sig" : "(eventName, handler, scope, options)",
678 "memberOf" : "Roo.util.Observable",
680 "isConstructor" : false,
690 "name" : "eventName",
692 "desc" : "The type of event to listen for",
698 "desc" : "The method the event invokes",
704 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
710 "desc" : "(optional)",
719 "desc" : "Removes a listener (shorthand for removeListener)",
720 "sig" : "(eventName, handler, scope)",
722 "memberOf" : "Roo.util.Observable",
724 "isConstructor" : false,
734 "name" : "eventName",
736 "desc" : "The type of event to listen for",
742 "desc" : "The handler to remove",
748 "desc" : "(optional) The scope (this object) for the handler",
755 "name" : "addEvents",
757 "desc" : "Used to define events on this Observable",
760 "memberOf" : "Roo.util.Observable",
762 "isConstructor" : false,
774 "desc" : "The object with the events defined",
781 "name" : "releaseCapture",
783 "desc" : "Removes <b>all</b> added captures from the Observable.",
786 "memberOf" : "Roo.util.Observable",
788 "isConstructor" : false,
799 "type" : "Observable",
800 "desc" : "The Observable to release",
807 "name" : "removeListener",
809 "desc" : "Removes a listener",
810 "sig" : "(eventName, handler, scope)",
812 "memberOf" : "Roo.util.Observable",
814 "isConstructor" : false,
824 "name" : "eventName",
826 "desc" : "The type of event to listen for",
832 "desc" : "The handler to remove",
838 "desc" : "(optional) The scope (this object) for the handler",
845 "name" : "fireEvent",
847 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
848 "sig" : "(eventName, args)",
850 "memberOf" : "Roo.util.Observable",
852 "isConstructor" : false,
862 "name" : "eventName",
869 "type" : "Object...",
870 "desc" : "Variable number of parameters are passed to handlers",
878 "desc" : "returns false if any of the handlers return false otherwise it returns true"
883 "name" : "hasListener",
885 "desc" : "Checks to see if this object has any listeners for a specified event",
886 "sig" : "(eventName)",
888 "memberOf" : "Roo.util.Observable",
890 "isConstructor" : false,
900 "name" : "eventName",
902 "desc" : "The name of the event to check for",
910 "desc" : "True if the event is being listened for, else false"
917 "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.",
918 "sig" : "(o, fn, scope)",
920 "memberOf" : "Roo.util.Observable",
922 "isConstructor" : false,
933 "type" : "Observable",
934 "desc" : "The Observable to capture",
940 "desc" : "The function to call",
946 "desc" : "(optional) The scope (this object) for the fn",
953 "name" : "addListener",
955 "desc" : "Appends an event handler to this component",
956 "sig" : "(eventName, handler, scope, options)",
958 "memberOf" : "Roo.util.Observable",
960 "isConstructor" : false,
970 "name" : "eventName",
972 "desc" : "The type of event to listen for",
978 "desc" : "The method the event invokes",
984 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
990 "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>",
1000 "type" : "function",
1001 "desc" : "After the popover hide",
1002 "sig" : "function (_self)\n{\n\n}",
1011 "type" : "Roo.bootstrap.Popover",
1013 "isOptional" : false
1020 "type" : "function",
1021 "desc" : "After the popover show",
1022 "sig" : "function (_self)\n{\n\n}",
1031 "type" : "Roo.bootstrap.Popover",
1033 "isOptional" : false
1039 "name" : "childrenrendered",
1040 "type" : "function",
1041 "desc" : "Fires when the children have been rendered..",
1042 "sig" : "function (_self)\n{\n\n}",
1043 "memberOf" : "Roo.bootstrap.Component",
1051 "type" : "Roo.bootstrap.Component",
1053 "isOptional" : false
1059 "name" : "beforerender",
1060 "type" : "function",
1061 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1062 "sig" : "function (_self)\n{\n\n}",
1063 "memberOf" : "Roo.Component",
1071 "type" : "Roo.Component",
1073 "isOptional" : false
1080 "type" : "function",
1081 "desc" : "Fires after the component is disabled.",
1082 "sig" : "function (_self)\n{\n\n}",
1083 "memberOf" : "Roo.Component",
1091 "type" : "Roo.Component",
1093 "isOptional" : false
1100 "type" : "function",
1101 "desc" : "Fires after the component is rendered.",
1102 "sig" : "function (_self)\n{\n\n}",
1103 "memberOf" : "Roo.Component",
1111 "type" : "Roo.Component",
1113 "isOptional" : false
1120 "type" : "function",
1121 "desc" : "Fires after the component is destroyed.",
1122 "sig" : "function (_self)\n{\n\n}",
1123 "memberOf" : "Roo.Component",
1131 "type" : "Roo.Component",
1133 "isOptional" : false
1139 "name" : "beforehide",
1140 "type" : "function",
1141 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1142 "sig" : "function (_self)\n{\n\n}",
1143 "memberOf" : "Roo.Component",
1151 "type" : "Roo.Component",
1153 "isOptional" : false
1159 "name" : "beforeshow",
1160 "type" : "function",
1161 "desc" : "Fires before the component is shown. Return false to stop the show.",
1162 "sig" : "function (_self)\n{\n\n}",
1163 "memberOf" : "Roo.Component",
1171 "type" : "Roo.Component",
1173 "isOptional" : false
1180 "type" : "function",
1181 "desc" : "Fires after the component is enabled.",
1182 "sig" : "function (_self)\n{\n\n}",
1183 "memberOf" : "Roo.Component",
1191 "type" : "Roo.Component",
1193 "isOptional" : false
1199 "name" : "beforedestroy",
1200 "type" : "function",
1201 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1202 "sig" : "function (_self)\n{\n\n}",
1203 "memberOf" : "Roo.Component",
1211 "type" : "Roo.Component",
1213 "isOptional" : false