2 "name" : "Roo.bootstrap.CardUploader",
4 "Roo.bootstrap.Button",
5 "Roo.bootstrap.Component",
10 "desc" : "Bootstrap Card Uploader class - it's a button which when you add files to it, adds cards below with preview and the name...",
11 "isSingleton" : false,
14 "memberOf" : "CardUploader",
23 "desc" : "The config object",
34 "desc" : "is it a slidy toggle button",
35 "memberOf" : "Roo.bootstrap.Button"
40 "desc" : "dark themed version",
41 "memberOf" : "Roo.bootstrap.Button"
46 "desc" : "text for badge",
47 "memberOf" : "Roo.bootstrap.Button"
52 "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\".",
53 "memberOf" : "Roo.Component"
58 "desc" : "an array of ?? Img objects ??? when loading existing files..",
64 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
65 "memberOf" : "Roo.bootstrap.Component"
70 "desc" : "default false;",
71 "memberOf" : "Roo.bootstrap.Button"
76 "desc" : "Specifies name attribute",
77 "memberOf" : "Roo.bootstrap.Component"
82 "desc" : "k) default",
83 "memberOf" : "Roo.bootstrap.Button"
88 "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
89 "memberOf" : "Roo.bootstrap.Button"
94 "desc" : "Text for the tooltip",
95 "memberOf" : "Roo.bootstrap.Component"
100 "desc" : "text for on slidy toggle state",
101 "memberOf" : "Roo.bootstrap.Button"
104 "name" : "preventDefault",
106 "desc" : "default true (stop click event triggering the URL if it's a link.)",
107 "memberOf" : "Roo.bootstrap.Button"
113 "memberOf" : "Roo.bootstrap.Button"
118 "desc" : "r) target for a href.",
119 "memberOf" : "Roo.bootstrap.Button"
122 "name" : "glyphicon",
124 "desc" : "depricated - use fa",
125 "memberOf" : "Roo.bootstrap.Button"
128 "name" : "allowDomMove",
130 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
131 "memberOf" : "Roo.Component"
136 "desc" : "any extra css",
137 "memberOf" : "Roo.bootstrap.Component"
142 "desc" : "default false;",
143 "memberOf" : "Roo.bootstrap.Button"
146 "name" : "errorTimeout",
148 "desc" : "default 3000",
152 "name" : "actionMode",
154 "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",
155 "memberOf" : "Roo.Component"
158 "name" : "listeners",
160 "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>",
161 "memberOf" : "Roo.util.Observable"
164 "name" : "container_method",
166 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
167 "memberOf" : "Roo.bootstrap.Component"
172 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
173 "memberOf" : "Roo.bootstrap.Button"
179 "memberOf" : "Roo.bootstrap.Button"
184 "desc" : "css class",
185 "memberOf" : "Roo.bootstrap.Component"
188 "name" : "badge_weight",
190 "desc" : "k) default (same as button)",
191 "memberOf" : "Roo.bootstrap.Button"
194 "name" : "can_build_overlaid",
196 "desc" : "True if element can be rebuild from a HTML page",
197 "memberOf" : "Roo.bootstrap.Component"
200 "name" : "disableClass",
202 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
203 "memberOf" : "Roo.Component"
206 "name" : "visibilityEl",
207 "type" : "string|object",
208 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
209 "memberOf" : "Roo.bootstrap.Component"
214 "desc" : "empty or href",
215 "memberOf" : "Roo.bootstrap.Button"
221 "memberOf" : "Roo.bootstrap.Button"
226 "desc" : "cutomer id",
227 "memberOf" : "Roo.bootstrap.Component"
232 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
233 "memberOf" : "Roo.bootstrap.Button"
238 "desc" : "text for off slidy toggle state",
239 "memberOf" : "Roo.bootstrap.Button"
242 "name" : "removeClass",
244 "desc" : "remove the standard class..",
245 "memberOf" : "Roo.bootstrap.Button"
250 "desc" : "The button text.",
256 "desc" : "default null - if the button ahs active state",
257 "memberOf" : "Roo.bootstrap.Button"
261 "type" : "Roo.bootstrap.menu.Menu",
263 "memberOf" : "Roo.bootstrap.Button"
270 "desc" : "addCard - add an Attachment to the uploader",
275 "isConstructor" : false,
287 "desc" : "- the data about the image to upload\n\n{\n id : 123\n title : \"Title of file\",\n is_uploaded : false,\n src : \"http://.....\",\n srcfile : { the File upload object },\n mimetype : file.type,\n preview : false,\n is_deleted : 0\n .. any other data...\n }",
296 "desc" : "set the text of the first selected button",
297 "sig" : "()\n{\n\n}",
299 "memberOf" : "Roo.bootstrap.Button",
301 "isConstructor" : false,
315 "desc" : "get the current active state",
316 "sig" : "()\n{\n\n}",
318 "memberOf" : "Roo.bootstrap.Button",
320 "isConstructor" : false,
333 "desc" : "true if it's active"
338 "name" : "setActive",
340 "desc" : "sets the active state on/off,",
343 "memberOf" : "Roo.bootstrap.Button",
345 "isConstructor" : false,
357 "desc" : "(optional) Force a particular state",
364 "name" : "toggleActive",
366 "desc" : "toggles the current active state",
367 "sig" : "()\n{\n\n}",
369 "memberOf" : "Roo.bootstrap.Button",
371 "isConstructor" : false,
385 "desc" : "get the text of the first selected button",
386 "sig" : "()\n{\n\n}",
388 "memberOf" : "Roo.bootstrap.Button",
390 "isConstructor" : false,
404 "desc" : "Enables this button",
405 "sig" : "()\n{\n\n}",
407 "memberOf" : "Roo.bootstrap.Button",
409 "isConstructor" : false,
423 "desc" : "Disable this button",
424 "sig" : "()\n{\n\n}",
426 "memberOf" : "Roo.bootstrap.Button",
428 "isConstructor" : false,
440 "name" : "tooltipEl",
442 "desc" : "Fetch the element to display the tooltip on.",
443 "sig" : "()\n{\n\n}",
445 "memberOf" : "Roo.bootstrap.Component",
447 "isConstructor" : false,
459 "type" : "Roo.Element",
460 "desc" : "defaults to this.el"
467 "desc" : "Hide a component - adds 'hidden' class",
468 "sig" : "()\n{\n\n}",
470 "memberOf" : "Roo.bootstrap.Component",
472 "isConstructor" : false,
486 "desc" : "Show a component - removes 'hidden' class",
487 "sig" : "()\n{\n\n}",
489 "memberOf" : "Roo.bootstrap.Component",
491 "isConstructor" : false,
503 "name" : "setVisibilityEl",
505 "desc" : "Set the element that will be used to show or hide",
506 "sig" : "()\n{\n\n}",
508 "memberOf" : "Roo.bootstrap.Component",
510 "isConstructor" : false,
522 "name" : "getVisibilityEl",
524 "desc" : "Get the element that will be used to show or hide",
525 "sig" : "()\n{\n\n}",
527 "memberOf" : "Roo.bootstrap.Component",
529 "isConstructor" : false,
541 "name" : "initEvents",
543 "desc" : "Initialize Events for the element",
544 "sig" : "()\n{\n\n}",
546 "memberOf" : "Roo.bootstrap.Component",
548 "isConstructor" : false,
560 "name" : "getChildContainer",
562 "desc" : "Fetch the element to add children to",
563 "sig" : "()\n{\n\n}",
565 "memberOf" : "Roo.bootstrap.Component",
567 "isConstructor" : false,
579 "type" : "Roo.Element",
580 "desc" : "defaults to this.el"
587 "desc" : "Returns the id of this component.",
588 "sig" : "()\n{\n\n}",
590 "memberOf" : "Roo.Component",
592 "isConstructor" : false,
612 "desc" : "If this is a lazy rendering component, render it to its container element.",
613 "sig" : "(container)",
615 "memberOf" : "Roo.Component",
617 "isConstructor" : false,
627 "name" : "container",
628 "type" : "String/HTMLElement/Element",
629 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
638 "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}.",
639 "sig" : "()\n{\n\n}",
641 "memberOf" : "Roo.Component",
643 "isConstructor" : false,
655 "name" : "isVisible",
657 "desc" : "Returns true if this component is visible.",
658 "sig" : "()\n{\n\n}",
660 "memberOf" : "Roo.Component",
662 "isConstructor" : false,
674 "name" : "setDisabled",
676 "desc" : "Convenience function for setting disabled/enabled by boolean.",
677 "sig" : "(disabled)",
679 "memberOf" : "Roo.Component",
681 "isConstructor" : false,
702 "desc" : "Try to focus this component.",
703 "sig" : "(selectText)",
705 "memberOf" : "Roo.Component",
707 "isConstructor" : false,
717 "name" : "selectText",
719 "desc" : "True to also select the text in this component (if applicable)",
726 "type" : "Roo.Component",
732 "name" : "setVisible",
734 "desc" : "Convenience function to hide or show this component by boolean.",
737 "memberOf" : "Roo.Component",
739 "isConstructor" : false,
751 "desc" : "True to show, false to hide",
758 "type" : "Roo.Component",
766 "desc" : "Returns the underlying {@link Roo.Element}.",
767 "sig" : "()\n{\n\n}",
769 "memberOf" : "Roo.Component",
771 "isConstructor" : false,
783 "type" : "Roo.Element",
784 "desc" : "The element"
789 "name" : "purgeListeners",
791 "desc" : "Removes all listeners for this object",
792 "sig" : "()\n{\n\n}",
794 "memberOf" : "Roo.util.Observable",
796 "isConstructor" : false,
810 "desc" : "Appends an event handler to this element (shorthand for addListener)",
811 "sig" : "(eventName, handler, scope, options)",
813 "memberOf" : "Roo.util.Observable",
815 "isConstructor" : false,
825 "name" : "eventName",
827 "desc" : "The type of event to listen for",
833 "desc" : "The method the event invokes",
839 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
845 "desc" : "(optional)",
854 "desc" : "Removes a listener (shorthand for removeListener)",
855 "sig" : "(eventName, handler, scope)",
857 "memberOf" : "Roo.util.Observable",
859 "isConstructor" : false,
869 "name" : "eventName",
871 "desc" : "The type of event to listen for",
877 "desc" : "The handler to remove",
883 "desc" : "(optional) The scope (this object) for the handler",
890 "name" : "addEvents",
892 "desc" : "Used to define events on this Observable",
895 "memberOf" : "Roo.util.Observable",
897 "isConstructor" : false,
909 "desc" : "The object with the events defined",
916 "name" : "releaseCapture",
918 "desc" : "Removes <b>all</b> added captures from the Observable.",
921 "memberOf" : "Roo.util.Observable",
923 "isConstructor" : false,
934 "type" : "Observable",
935 "desc" : "The Observable to release",
942 "name" : "removeListener",
944 "desc" : "Removes a listener",
945 "sig" : "(eventName, handler, scope)",
947 "memberOf" : "Roo.util.Observable",
949 "isConstructor" : false,
959 "name" : "eventName",
961 "desc" : "The type of event to listen for",
967 "desc" : "The handler to remove",
973 "desc" : "(optional) The scope (this object) for the handler",
980 "name" : "fireEvent",
982 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
983 "sig" : "(eventName, args)",
985 "memberOf" : "Roo.util.Observable",
987 "isConstructor" : false,
997 "name" : "eventName",
1000 "isOptional" : false
1004 "type" : "Object...",
1005 "desc" : "Variable number of parameters are passed to handlers",
1006 "isOptional" : false
1013 "desc" : "returns false if any of the handlers return false otherwise it returns true"
1018 "name" : "hasListener",
1019 "type" : "function",
1020 "desc" : "Checks to see if this object has any listeners for a specified event",
1021 "sig" : "(eventName)",
1023 "memberOf" : "Roo.util.Observable",
1025 "isConstructor" : false,
1026 "isPrivate" : false,
1035 "name" : "eventName",
1037 "desc" : "The name of the event to check for",
1038 "isOptional" : false
1045 "desc" : "True if the event is being listened for, else false"
1051 "type" : "function",
1052 "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.",
1053 "sig" : "(o, fn, scope)",
1055 "memberOf" : "Roo.util.Observable",
1057 "isConstructor" : false,
1058 "isPrivate" : false,
1068 "type" : "Observable",
1069 "desc" : "The Observable to capture",
1070 "isOptional" : false
1074 "type" : "Function",
1075 "desc" : "The function to call",
1076 "isOptional" : false
1081 "desc" : "(optional) The scope (this object) for the fn",
1082 "isOptional" : false
1088 "name" : "addListener",
1089 "type" : "function",
1090 "desc" : "Appends an event handler to this component",
1091 "sig" : "(eventName, handler, scope, options)",
1093 "memberOf" : "Roo.util.Observable",
1095 "isConstructor" : false,
1096 "isPrivate" : false,
1105 "name" : "eventName",
1107 "desc" : "The type of event to listen for",
1108 "isOptional" : false
1112 "type" : "Function",
1113 "desc" : "The method the event invokes",
1114 "isOptional" : false
1119 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1120 "isOptional" : false
1125 "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>",
1126 "isOptional" : false
1134 "name" : "download",
1135 "type" : "function",
1136 "desc" : "When a the download link is clicked",
1137 "sig" : "function (_self, The)\n{\n\n}",
1146 "type" : "Roo.bootstrap.Card",
1148 "isOptional" : false
1153 "desc" : "image information data contains",
1154 "isOptional" : false
1161 "type" : "function",
1162 "desc" : "When a image is clicked on - and needs to display a slideshow or similar..",
1163 "sig" : "function (_self, The)\n{\n\n}",
1172 "type" : "Roo.bootstrap.Card",
1174 "isOptional" : false
1179 "desc" : "image information data",
1180 "isOptional" : false
1187 "type" : "function",
1188 "desc" : "After the button has been toggles",
1189 "sig" : "function (btn, e, pressed)\n{\n\n}",
1190 "memberOf" : "Roo.bootstrap.Button",
1198 "type" : "Roo.bootstrap.Button",
1200 "isOptional" : false
1204 "type" : "Roo.EventObject",
1206 "isOptional" : false
1211 "desc" : "(also available as button.pressed)",
1212 "isOptional" : false
1218 "name" : "dblclick",
1219 "type" : "function",
1220 "desc" : "When a button is double clicked",
1221 "sig" : "function (btn, e)\n{\n\n}",
1222 "memberOf" : "Roo.bootstrap.Button",
1230 "type" : "Roo.bootstrap.Button",
1232 "isOptional" : false
1236 "type" : "Roo.EventObject",
1238 "isOptional" : false
1245 "type" : "function",
1246 "desc" : "When a button is pressed",
1247 "sig" : "function (btn, e)\n{\n\n}",
1248 "memberOf" : "Roo.bootstrap.Button",
1256 "type" : "Roo.bootstrap.Button",
1258 "isOptional" : false
1262 "type" : "Roo.EventObject",
1264 "isOptional" : false
1270 "name" : "childrenrendered",
1271 "type" : "function",
1272 "desc" : "Fires when the children have been rendered..",
1273 "sig" : "function (_self)\n{\n\n}",
1274 "memberOf" : "Roo.bootstrap.Component",
1282 "type" : "Roo.bootstrap.Component",
1284 "isOptional" : false
1290 "name" : "beforerender",
1291 "type" : "function",
1292 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1293 "sig" : "function (_self)\n{\n\n}",
1294 "memberOf" : "Roo.Component",
1302 "type" : "Roo.Component",
1304 "isOptional" : false
1311 "type" : "function",
1312 "desc" : "Fires after the component is disabled.",
1313 "sig" : "function (_self)\n{\n\n}",
1314 "memberOf" : "Roo.Component",
1322 "type" : "Roo.Component",
1324 "isOptional" : false
1331 "type" : "function",
1332 "desc" : "Fires after the component is rendered.",
1333 "sig" : "function (_self)\n{\n\n}",
1334 "memberOf" : "Roo.Component",
1342 "type" : "Roo.Component",
1344 "isOptional" : false
1351 "type" : "function",
1352 "desc" : "Fires after the component is destroyed.",
1353 "sig" : "function (_self)\n{\n\n}",
1354 "memberOf" : "Roo.Component",
1362 "type" : "Roo.Component",
1364 "isOptional" : false
1371 "type" : "function",
1372 "desc" : "Fires after the component is hidden.",
1373 "sig" : "function (_self)\n{\n\n}",
1374 "memberOf" : "Roo.Component",
1382 "type" : "Roo.Component",
1384 "isOptional" : false
1390 "name" : "beforehide",
1391 "type" : "function",
1392 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1393 "sig" : "function (_self)\n{\n\n}",
1394 "memberOf" : "Roo.Component",
1402 "type" : "Roo.Component",
1404 "isOptional" : false
1411 "type" : "function",
1412 "desc" : "Fires after the component is shown.",
1413 "sig" : "function (_self)\n{\n\n}",
1414 "memberOf" : "Roo.Component",
1422 "type" : "Roo.Component",
1424 "isOptional" : false
1430 "name" : "beforeshow",
1431 "type" : "function",
1432 "desc" : "Fires before the component is shown. Return false to stop the show.",
1433 "sig" : "function (_self)\n{\n\n}",
1434 "memberOf" : "Roo.Component",
1442 "type" : "Roo.Component",
1444 "isOptional" : false
1451 "type" : "function",
1452 "desc" : "Fires after the component is enabled.",
1453 "sig" : "function (_self)\n{\n\n}",
1454 "memberOf" : "Roo.Component",
1462 "type" : "Roo.Component",
1464 "isOptional" : false
1470 "name" : "beforedestroy",
1471 "type" : "function",
1472 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1473 "sig" : "function (_self)\n{\n\n}",
1474 "memberOf" : "Roo.Component",
1482 "type" : "Roo.Component",
1484 "isOptional" : false