2 "name" : "Roo.bootstrap.Img",
4 "Roo.bootstrap.Component",
11 "desc" : "Bootstrap Img class",
12 "isSingleton" : false,
16 "isBuilderTop" : false,
26 "desc" : "The config object",
37 "desc" : "image source",
45 "desc" : "rounded | circle | thumbnail",
53 "desc" : "xs image source",
61 "desc" : "sm image source",
69 "desc" : "md image source",
77 "desc" : "lg image source",
83 "name" : "backgroundContain",
85 "desc" : "(use style background and contain image in content)",
93 "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>",
94 "memberOf" : "Roo.util.Observable",
101 "desc" : "Text for the tooltip",
102 "memberOf" : "Roo.bootstrap.Component",
103 "isOptional" : false,
107 "name" : "container_method",
109 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
110 "memberOf" : "Roo.bootstrap.Component",
111 "isOptional" : false,
115 "name" : "visibilityEl",
116 "type" : "string|object",
117 "desc" : "t) What element to use for visibility (@see getVisibilityEl(",
118 "memberOf" : "Roo.bootstrap.Component",
119 "isOptional" : false,
126 "name" : "can_build_overlaid",
128 "desc" : "True if element can be rebuild from a HTML page",
129 "memberOf" : "Roo.bootstrap.Component",
130 "isOptional" : false,
136 "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",
137 "memberOf" : "Roo.Component",
138 "isOptional" : false,
147 "desc" : "any extra css",
148 "memberOf" : "Roo.bootstrap.Component",
149 "isOptional" : false,
153 "name" : "allowDomMove",
155 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
156 "memberOf" : "Roo.Component",
157 "isOptional" : false,
163 "desc" : "css class",
164 "memberOf" : "Roo.bootstrap.Component",
165 "isOptional" : false,
169 "name" : "imgResponsive",
171 "desc" : "false | true",
173 "isOptional" : false,
179 "desc" : "image alternative text",
181 "isOptional" : false,
187 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
188 "memberOf" : "Roo.bootstrap.Component",
189 "isOptional" : false,
193 "name" : "actionMode",
195 "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",
196 "memberOf" : "Roo.Component",
197 "isOptional" : false,
203 "desc" : "cutomer id",
204 "memberOf" : "Roo.bootstrap.Component",
205 "isOptional" : false,
211 "desc" : "p)target for a hre",
213 "isOptional" : false,
224 "desc" : "Specifies name attribute",
225 "memberOf" : "Roo.bootstrap.Component",
226 "isOptional" : false,
230 "name" : "disableClass",
232 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
233 "memberOf" : "Roo.Component",
234 "isOptional" : false,
240 "desc" : "a tag href",
242 "isOptional" : false,
250 "desc" : "Sets the url of the image - used to update it",
255 "isConstructor" : false,
267 "desc" : "the url of the image",
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,
320 "desc" : "Show a component - removes 'hidden' class",
321 "sig" : "()\n{\n\n}",
323 "memberOf" : "Roo.bootstrap.Component",
325 "isConstructor" : false,
337 "name" : "setVisibilityEl",
339 "desc" : "Set 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" : "getVisibilityEl",
358 "desc" : "Get the element that will be used to show or hide",
359 "sig" : "()\n{\n\n}",
361 "memberOf" : "Roo.bootstrap.Component",
363 "isConstructor" : false,
375 "name" : "initEvents",
377 "desc" : "Initialize Events for the element",
378 "sig" : "()\n{\n\n}",
380 "memberOf" : "Roo.bootstrap.Component",
382 "isConstructor" : false,
394 "name" : "getChildContainer",
396 "desc" : "Fetch the element to add children to",
397 "sig" : "()\n{\n\n}",
399 "memberOf" : "Roo.bootstrap.Component",
401 "isConstructor" : false,
413 "type" : "Roo.Element",
414 "desc" : "defaults to this.el"
421 "desc" : "Returns the id of this component.",
422 "sig" : "()\n{\n\n}",
424 "memberOf" : "Roo.Component",
426 "isConstructor" : false,
446 "desc" : "If this is a lazy rendering component, render it to its container element.",
447 "sig" : "(container)",
449 "memberOf" : "Roo.Component",
451 "isConstructor" : false,
461 "name" : "container",
462 "type" : "String/HTMLElement/Element",
463 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
472 "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}.",
473 "sig" : "()\n{\n\n}",
475 "memberOf" : "Roo.Component",
477 "isConstructor" : false,
489 "name" : "isVisible",
491 "desc" : "Returns true if this component is visible.",
492 "sig" : "()\n{\n\n}",
494 "memberOf" : "Roo.Component",
496 "isConstructor" : false,
508 "name" : "setDisabled",
510 "desc" : "Convenience function for setting disabled/enabled by boolean.",
511 "sig" : "(disabled)",
513 "memberOf" : "Roo.Component",
515 "isConstructor" : false,
536 "desc" : "Try to focus this component.",
537 "sig" : "(selectText)",
539 "memberOf" : "Roo.Component",
541 "isConstructor" : false,
551 "name" : "selectText",
553 "desc" : "True to also select the text in this component (if applicable)",
560 "type" : "Roo.Component",
568 "desc" : "Enable this component.",
569 "sig" : "()\n{\n\n}",
571 "memberOf" : "Roo.Component",
573 "isConstructor" : false,
585 "type" : "Roo.Component",
591 "name" : "setVisible",
593 "desc" : "Convenience function to hide or show this component by boolean.",
596 "memberOf" : "Roo.Component",
598 "isConstructor" : false,
610 "desc" : "True to show, false to hide",
617 "type" : "Roo.Component",
625 "desc" : "Disable this component.",
626 "sig" : "()\n{\n\n}",
628 "memberOf" : "Roo.Component",
630 "isConstructor" : false,
642 "type" : "Roo.Component",
650 "desc" : "Returns the underlying {@link Roo.Element}.",
651 "sig" : "()\n{\n\n}",
653 "memberOf" : "Roo.Component",
655 "isConstructor" : false,
667 "type" : "Roo.Element",
668 "desc" : "The element"
673 "name" : "purgeListeners",
675 "desc" : "Removes all listeners for this object",
676 "sig" : "()\n{\n\n}",
678 "memberOf" : "Roo.util.Observable",
680 "isConstructor" : false,
694 "desc" : "Appends an event handler to this element (shorthand for addListener)",
695 "sig" : "(eventName, handler, scope, options)",
697 "memberOf" : "Roo.util.Observable",
699 "isConstructor" : false,
709 "name" : "eventName",
711 "desc" : "The type of event to listen for",
717 "desc" : "The method the event invokes",
723 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
729 "desc" : "(optional)",
738 "desc" : "Removes a listener (shorthand for removeListener)",
739 "sig" : "(eventName, handler, scope)",
741 "memberOf" : "Roo.util.Observable",
743 "isConstructor" : false,
753 "name" : "eventName",
755 "desc" : "The type of event to listen for",
761 "desc" : "The handler to remove",
767 "desc" : "(optional) The scope (this object) for the handler",
774 "name" : "addEvents",
776 "desc" : "Used to define events on this Observable",
779 "memberOf" : "Roo.util.Observable",
781 "isConstructor" : false,
793 "desc" : "The object with the events defined",
800 "name" : "releaseCapture",
802 "desc" : "Removes <b>all</b> added captures from the Observable.",
805 "memberOf" : "Roo.util.Observable",
807 "isConstructor" : false,
818 "type" : "Observable",
819 "desc" : "The Observable to release",
826 "name" : "removeListener",
828 "desc" : "Removes a listener",
829 "sig" : "(eventName, handler, scope)",
831 "memberOf" : "Roo.util.Observable",
833 "isConstructor" : false,
843 "name" : "eventName",
845 "desc" : "The type of event to listen for",
851 "desc" : "The handler to remove",
857 "desc" : "(optional) The scope (this object) for the handler",
864 "name" : "fireEvent",
866 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
867 "sig" : "(eventName, args)",
869 "memberOf" : "Roo.util.Observable",
871 "isConstructor" : false,
881 "name" : "eventName",
888 "type" : "Object...",
889 "desc" : "Variable number of parameters are passed to handlers",
897 "desc" : "returns false if any of the handlers return false otherwise it returns true"
902 "name" : "hasListener",
904 "desc" : "Checks to see if this object has any listeners for a specified event",
905 "sig" : "(eventName)",
907 "memberOf" : "Roo.util.Observable",
909 "isConstructor" : false,
919 "name" : "eventName",
921 "desc" : "The name of the event to check for",
929 "desc" : "True if the event is being listened for, else false"
936 "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.",
937 "sig" : "(o, fn, scope)",
939 "memberOf" : "Roo.util.Observable",
941 "isConstructor" : false,
952 "type" : "Observable",
953 "desc" : "The Observable to capture",
959 "desc" : "The function to call",
965 "desc" : "(optional) The scope (this object) for the fn",
972 "name" : "addListener",
974 "desc" : "Appends an event handler to this component",
975 "sig" : "(eventName, handler, scope, options)",
977 "memberOf" : "Roo.util.Observable",
979 "isConstructor" : false,
989 "name" : "eventName",
991 "desc" : "The type of event to listen for",
997 "desc" : "The method the event invokes",
1003 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1004 "isOptional" : false
1009 "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>",
1010 "isOptional" : false
1019 "type" : "function",
1020 "desc" : "The img click event for the img.",
1021 "sig" : "function (e)\n{\n\n}",
1030 "type" : "Roo.EventObject",
1032 "isOptional" : false
1039 "type" : "function",
1040 "desc" : "The when any image loads",
1041 "sig" : "function (e)\n{\n\n}",
1050 "type" : "Roo.EventObject",
1052 "isOptional" : false
1058 "name" : "childrenrendered",
1059 "type" : "function",
1060 "desc" : "Fires when the children have been rendered..",
1061 "sig" : "function (_self)\n{\n\n}",
1062 "memberOf" : "Roo.bootstrap.Component",
1070 "type" : "Roo.bootstrap.Component",
1072 "isOptional" : false
1078 "name" : "beforerender",
1079 "type" : "function",
1080 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1081 "sig" : "function (_self)\n{\n\n}",
1082 "memberOf" : "Roo.Component",
1090 "type" : "Roo.Component",
1092 "isOptional" : false
1099 "type" : "function",
1100 "desc" : "Fires after the component is disabled.",
1101 "sig" : "function (_self)\n{\n\n}",
1102 "memberOf" : "Roo.Component",
1110 "type" : "Roo.Component",
1112 "isOptional" : false
1119 "type" : "function",
1120 "desc" : "Fires after the component is rendered.",
1121 "sig" : "function (_self)\n{\n\n}",
1122 "memberOf" : "Roo.Component",
1130 "type" : "Roo.Component",
1132 "isOptional" : false
1139 "type" : "function",
1140 "desc" : "Fires after the component is destroyed.",
1141 "sig" : "function (_self)\n{\n\n}",
1142 "memberOf" : "Roo.Component",
1150 "type" : "Roo.Component",
1152 "isOptional" : false
1159 "type" : "function",
1160 "desc" : "Fires after the component is hidden.",
1161 "sig" : "function (_self)\n{\n\n}",
1162 "memberOf" : "Roo.Component",
1170 "type" : "Roo.Component",
1172 "isOptional" : false
1178 "name" : "beforehide",
1179 "type" : "function",
1180 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1181 "sig" : "function (_self)\n{\n\n}",
1182 "memberOf" : "Roo.Component",
1190 "type" : "Roo.Component",
1192 "isOptional" : false
1199 "type" : "function",
1200 "desc" : "Fires after the component is shown.",
1201 "sig" : "function (_self)\n{\n\n}",
1202 "memberOf" : "Roo.Component",
1210 "type" : "Roo.Component",
1212 "isOptional" : false
1218 "name" : "beforeshow",
1219 "type" : "function",
1220 "desc" : "Fires before the component is shown. Return false to stop the show.",
1221 "sig" : "function (_self)\n{\n\n}",
1222 "memberOf" : "Roo.Component",
1230 "type" : "Roo.Component",
1232 "isOptional" : false
1239 "type" : "function",
1240 "desc" : "Fires after the component is enabled.",
1241 "sig" : "function (_self)\n{\n\n}",
1242 "memberOf" : "Roo.Component",
1250 "type" : "Roo.Component",
1252 "isOptional" : false
1258 "name" : "beforedestroy",
1259 "type" : "function",
1260 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1261 "sig" : "function (_self)\n{\n\n}",
1262 "memberOf" : "Roo.Component",
1270 "type" : "Roo.Component",
1272 "isOptional" : false