2 "name" : "Roo.bootstrap.Popover",
4 "Roo.bootstrap.Component",
9 "desc" : "Bootstrap Popover class",
10 "isSingleton" : false,
13 "memberOf" : "Popover",
22 "desc" : "The config object",
33 "desc" : "- popovers that are modal will mask the screen, and must be closed with another event.",
39 "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>",
40 "memberOf" : "Roo.util.Observable"
44 "type" : "String|Boolean|Roo.Element",
45 "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",
51 "desc" : "Text for the tooltip",
52 "memberOf" : "Roo.bootstrap.Component"
55 "name" : "container_method",
57 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
58 "memberOf" : "Roo.bootstrap.Component"
61 "name" : "visibilityEl",
62 "type" : "string|object",
63 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
64 "memberOf" : "Roo.bootstrap.Component"
69 "desc" : "- delay before showing",
75 "desc" : "click || hover (or false to trigger manually)",
79 "name" : "can_build_overlaid",
81 "desc" : "True if element can be rebuild from a HTML page",
82 "memberOf" : "Roo.bootstrap.Component"
87 "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\".",
88 "memberOf" : "Roo.Component"
93 "desc" : "of popover (or false to hide)",
99 "desc" : "any extra css",
100 "memberOf" : "Roo.bootstrap.Component"
103 "name" : "allowDomMove",
105 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
106 "memberOf" : "Roo.Component"
109 "name" : "(right|top|bottom|left|auto)",
110 "type" : "String|function",
111 "desc" : "placement how it is placed",
117 "desc" : "contents of the popover (or false to use children..)",
123 "desc" : "css class",
124 "memberOf" : "Roo.bootstrap.Component"
129 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
130 "memberOf" : "Roo.bootstrap.Component"
133 "name" : "actionMode",
135 "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",
136 "memberOf" : "Roo.Component"
141 "desc" : "cutomer id",
142 "memberOf" : "Roo.bootstrap.Component"
147 "desc" : "Specifies name attribute",
148 "memberOf" : "Roo.bootstrap.Component"
151 "name" : "disableClass",
153 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
154 "memberOf" : "Roo.Component"
159 "name" : "setContent",
166 "isConstructor" : false,
178 "desc" : "body content",
192 "isConstructor" : false,
211 "name" : "updatePosition",
213 "desc" : "fire this manually after loading a grid in the table for example",
214 "sig" : "((left|right|top|bottom), try)",
218 "isConstructor" : false,
228 "name" : "(left|right|top|bottom)",
230 "desc" : "where to try and put it (use false to use the last one)",
236 "desc" : "and move it if we cant get right position.",
245 "desc" : "Show the popover",
246 "sig" : "(-, (left|right|top|bottom))",
250 "isConstructor" : false,
261 "type" : "Roo.Element|string|Boolean",
262 "desc" : "element to align and point to. (set align to [ pos, offset ])",
266 "name" : "(left|right|top|bottom)",
275 "name" : "tooltipEl",
277 "desc" : "Fetch the element to display the tooltip on.",
278 "sig" : "()\n{\n\n}",
280 "memberOf" : "Roo.bootstrap.Component",
282 "isConstructor" : false,
294 "type" : "Roo.Element",
295 "desc" : "defaults to this.el"
302 "desc" : "Hide a component - adds 'hidden' class",
303 "sig" : "()\n{\n\n}",
305 "memberOf" : "Roo.bootstrap.Component",
307 "isConstructor" : false,
319 "name" : "setVisibilityEl",
321 "desc" : "Set the element that will be used to show or hide",
322 "sig" : "()\n{\n\n}",
324 "memberOf" : "Roo.bootstrap.Component",
326 "isConstructor" : false,
338 "name" : "getVisibilityEl",
340 "desc" : "Get the element that will be used to show or hide",
341 "sig" : "()\n{\n\n}",
343 "memberOf" : "Roo.bootstrap.Component",
345 "isConstructor" : false,
357 "name" : "initEvents",
359 "desc" : "Initialize Events for the element",
360 "sig" : "()\n{\n\n}",
362 "memberOf" : "Roo.bootstrap.Component",
364 "isConstructor" : false,
376 "name" : "getChildContainer",
378 "desc" : "Fetch the element to add children to",
379 "sig" : "()\n{\n\n}",
381 "memberOf" : "Roo.bootstrap.Component",
383 "isConstructor" : false,
395 "type" : "Roo.Element",
396 "desc" : "defaults to this.el"
403 "desc" : "Returns the id of this component.",
404 "sig" : "()\n{\n\n}",
406 "memberOf" : "Roo.Component",
408 "isConstructor" : false,
428 "desc" : "If this is a lazy rendering component, render it to its container element.",
429 "sig" : "(container)",
431 "memberOf" : "Roo.Component",
433 "isConstructor" : false,
443 "name" : "container",
444 "type" : "String/HTMLElement/Element",
445 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
454 "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}.",
455 "sig" : "()\n{\n\n}",
457 "memberOf" : "Roo.Component",
459 "isConstructor" : false,
471 "name" : "isVisible",
473 "desc" : "Returns true if this component is visible.",
474 "sig" : "()\n{\n\n}",
476 "memberOf" : "Roo.Component",
478 "isConstructor" : false,
490 "name" : "setDisabled",
492 "desc" : "Convenience function for setting disabled/enabled by boolean.",
493 "sig" : "(disabled)",
495 "memberOf" : "Roo.Component",
497 "isConstructor" : false,
518 "desc" : "Try to focus this component.",
519 "sig" : "(selectText)",
521 "memberOf" : "Roo.Component",
523 "isConstructor" : false,
533 "name" : "selectText",
535 "desc" : "True to also select the text in this component (if applicable)",
542 "type" : "Roo.Component",
550 "desc" : "Enable this component.",
551 "sig" : "()\n{\n\n}",
553 "memberOf" : "Roo.Component",
555 "isConstructor" : false,
567 "type" : "Roo.Component",
573 "name" : "setVisible",
575 "desc" : "Convenience function to hide or show this component by boolean.",
578 "memberOf" : "Roo.Component",
580 "isConstructor" : false,
592 "desc" : "True to show, false to hide",
599 "type" : "Roo.Component",
607 "desc" : "Disable this component.",
608 "sig" : "()\n{\n\n}",
610 "memberOf" : "Roo.Component",
612 "isConstructor" : false,
624 "type" : "Roo.Component",
632 "desc" : "Returns the underlying {@link Roo.Element}.",
633 "sig" : "()\n{\n\n}",
635 "memberOf" : "Roo.Component",
637 "isConstructor" : false,
649 "type" : "Roo.Element",
650 "desc" : "The element"
655 "name" : "purgeListeners",
657 "desc" : "Removes all listeners for this object",
658 "sig" : "()\n{\n\n}",
660 "memberOf" : "Roo.util.Observable",
662 "isConstructor" : false,
676 "desc" : "Appends an event handler to this element (shorthand for addListener)",
677 "sig" : "(eventName, handler, scope, options)",
679 "memberOf" : "Roo.util.Observable",
681 "isConstructor" : false,
691 "name" : "eventName",
693 "desc" : "The type of event to listen for",
699 "desc" : "The method the event invokes",
705 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
711 "desc" : "(optional)",
720 "desc" : "Removes a listener (shorthand for removeListener)",
721 "sig" : "(eventName, handler, scope)",
723 "memberOf" : "Roo.util.Observable",
725 "isConstructor" : false,
735 "name" : "eventName",
737 "desc" : "The type of event to listen for",
743 "desc" : "The handler to remove",
749 "desc" : "(optional) The scope (this object) for the handler",
756 "name" : "addEvents",
758 "desc" : "Used to define events on this Observable",
761 "memberOf" : "Roo.util.Observable",
763 "isConstructor" : false,
775 "desc" : "The object with the events defined",
782 "name" : "releaseCapture",
784 "desc" : "Removes <b>all</b> added captures from the Observable.",
787 "memberOf" : "Roo.util.Observable",
789 "isConstructor" : false,
800 "type" : "Observable",
801 "desc" : "The Observable to release",
808 "name" : "removeListener",
810 "desc" : "Removes a listener",
811 "sig" : "(eventName, handler, scope)",
813 "memberOf" : "Roo.util.Observable",
815 "isConstructor" : false,
825 "name" : "eventName",
827 "desc" : "The type of event to listen for",
833 "desc" : "The handler to remove",
839 "desc" : "(optional) The scope (this object) for the handler",
846 "name" : "fireEvent",
848 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
849 "sig" : "(eventName, args)",
851 "memberOf" : "Roo.util.Observable",
853 "isConstructor" : false,
863 "name" : "eventName",
870 "type" : "Object...",
871 "desc" : "Variable number of parameters are passed to handlers",
879 "desc" : "returns false if any of the handlers return false otherwise it returns true"
884 "name" : "hasListener",
886 "desc" : "Checks to see if this object has any listeners for a specified event",
887 "sig" : "(eventName)",
889 "memberOf" : "Roo.util.Observable",
891 "isConstructor" : false,
901 "name" : "eventName",
903 "desc" : "The name of the event to check for",
911 "desc" : "True if the event is being listened for, else false"
918 "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.",
919 "sig" : "(o, fn, scope)",
921 "memberOf" : "Roo.util.Observable",
923 "isConstructor" : false,
934 "type" : "Observable",
935 "desc" : "The Observable to capture",
941 "desc" : "The function to call",
947 "desc" : "(optional) The scope (this object) for the fn",
954 "name" : "addListener",
956 "desc" : "Appends an event handler to this component",
957 "sig" : "(eventName, handler, scope, options)",
959 "memberOf" : "Roo.util.Observable",
961 "isConstructor" : false,
971 "name" : "eventName",
973 "desc" : "The type of event to listen for",
979 "desc" : "The method the event invokes",
985 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
991 "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>",
1001 "type" : "function",
1002 "desc" : "After the popover hide",
1003 "sig" : "function (_self)\n{\n\n}",
1012 "type" : "Roo.bootstrap.Popover",
1014 "isOptional" : false
1021 "type" : "function",
1022 "desc" : "After the popover show",
1023 "sig" : "function (_self)\n{\n\n}",
1032 "type" : "Roo.bootstrap.Popover",
1034 "isOptional" : false
1040 "name" : "childrenrendered",
1041 "type" : "function",
1042 "desc" : "Fires when the children have been rendered..",
1043 "sig" : "function (_self)\n{\n\n}",
1044 "memberOf" : "Roo.bootstrap.Component",
1052 "type" : "Roo.bootstrap.Component",
1054 "isOptional" : false
1060 "name" : "beforerender",
1061 "type" : "function",
1062 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1063 "sig" : "function (_self)\n{\n\n}",
1064 "memberOf" : "Roo.Component",
1072 "type" : "Roo.Component",
1074 "isOptional" : false
1081 "type" : "function",
1082 "desc" : "Fires after the component is disabled.",
1083 "sig" : "function (_self)\n{\n\n}",
1084 "memberOf" : "Roo.Component",
1092 "type" : "Roo.Component",
1094 "isOptional" : false
1101 "type" : "function",
1102 "desc" : "Fires after the component is rendered.",
1103 "sig" : "function (_self)\n{\n\n}",
1104 "memberOf" : "Roo.Component",
1112 "type" : "Roo.Component",
1114 "isOptional" : false
1121 "type" : "function",
1122 "desc" : "Fires after the component is destroyed.",
1123 "sig" : "function (_self)\n{\n\n}",
1124 "memberOf" : "Roo.Component",
1132 "type" : "Roo.Component",
1134 "isOptional" : false
1140 "name" : "beforehide",
1141 "type" : "function",
1142 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1143 "sig" : "function (_self)\n{\n\n}",
1144 "memberOf" : "Roo.Component",
1152 "type" : "Roo.Component",
1154 "isOptional" : false
1160 "name" : "beforeshow",
1161 "type" : "function",
1162 "desc" : "Fires before the component is shown. Return false to stop the show.",
1163 "sig" : "function (_self)\n{\n\n}",
1164 "memberOf" : "Roo.Component",
1172 "type" : "Roo.Component",
1174 "isOptional" : false
1181 "type" : "function",
1182 "desc" : "Fires after the component is enabled.",
1183 "sig" : "function (_self)\n{\n\n}",
1184 "memberOf" : "Roo.Component",
1192 "type" : "Roo.Component",
1194 "isOptional" : false
1200 "name" : "beforedestroy",
1201 "type" : "function",
1202 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1203 "sig" : "function (_self)\n{\n\n}",
1204 "memberOf" : "Roo.Component",
1212 "type" : "Roo.Component",
1214 "isOptional" : false