2 "name" : "Roo.bootstrap.CardUploader",
4 "Roo.bootstrap.Button",
5 "Roo.bootstrap.Component",
12 "desc" : "Bootstrap Card Uploader class - it's a button which when you add files to it, adds cards below with preview and the name...",
13 "isSingleton" : false,
17 "isBuilderTop" : false,
18 "memberOf" : "CardUploader",
27 "desc" : "The config object",
38 "desc" : "is it a slidy toggle button",
39 "memberOf" : "Roo.bootstrap.Button"
44 "desc" : "dark themed version",
45 "memberOf" : "Roo.bootstrap.Button"
50 "desc" : "text for badge",
51 "memberOf" : "Roo.bootstrap.Button"
56 "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\".",
57 "memberOf" : "Roo.Component"
62 "desc" : "an array of ?? Img objects ??? when loading existing files..",
63 "memberOf" : "Roo.bootstrap.CardUploader"
68 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
69 "memberOf" : "Roo.bootstrap.Component"
74 "desc" : "default false;",
75 "memberOf" : "Roo.bootstrap.Button"
80 "desc" : "Specifies name attribute",
81 "memberOf" : "Roo.bootstrap.Component"
86 "desc" : "k) default",
87 "memberOf" : "Roo.bootstrap.Button"
92 "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
93 "memberOf" : "Roo.bootstrap.Button"
98 "desc" : "Text for the tooltip",
99 "memberOf" : "Roo.bootstrap.Component"
104 "desc" : "text for on slidy toggle state",
105 "memberOf" : "Roo.bootstrap.Button"
108 "name" : "preventDefault",
110 "desc" : "default true (stop click event triggering the URL if it's a link.)",
111 "memberOf" : "Roo.bootstrap.Button"
117 "memberOf" : "Roo.bootstrap.Button"
122 "desc" : "r) target for a href.",
123 "memberOf" : "Roo.bootstrap.Button"
126 "name" : "glyphicon",
128 "desc" : "depricated - use fa",
129 "memberOf" : "Roo.bootstrap.Button"
132 "name" : "allowDomMove",
134 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
135 "memberOf" : "Roo.Component"
140 "desc" : "any extra css",
141 "memberOf" : "Roo.bootstrap.Component"
146 "desc" : "default false;",
147 "memberOf" : "Roo.bootstrap.Button"
150 "name" : "errorTimeout",
152 "desc" : "default 3000",
153 "memberOf" : "Roo.bootstrap.CardUploader"
156 "name" : "actionMode",
158 "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",
159 "memberOf" : "Roo.Component"
162 "name" : "listeners",
164 "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>",
165 "memberOf" : "Roo.util.Observable"
168 "name" : "container_method",
170 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
171 "memberOf" : "Roo.bootstrap.Component"
176 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
177 "memberOf" : "Roo.bootstrap.Button"
183 "memberOf" : "Roo.bootstrap.Button"
188 "desc" : "css class",
189 "memberOf" : "Roo.bootstrap.Component"
192 "name" : "badge_weight",
194 "desc" : "k) default (same as button)",
195 "memberOf" : "Roo.bootstrap.Button"
198 "name" : "can_build_overlaid",
200 "desc" : "True if element can be rebuild from a HTML page",
201 "memberOf" : "Roo.bootstrap.Component"
204 "name" : "disableClass",
206 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
207 "memberOf" : "Roo.Component"
210 "name" : "visibilityEl",
211 "type" : "string|object",
212 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
213 "memberOf" : "Roo.bootstrap.Component"
218 "desc" : "empty or href",
219 "memberOf" : "Roo.bootstrap.Button"
225 "memberOf" : "Roo.bootstrap.Button"
230 "desc" : "cutomer id",
231 "memberOf" : "Roo.bootstrap.Component"
236 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
237 "memberOf" : "Roo.bootstrap.Button"
242 "desc" : "text for off slidy toggle state",
243 "memberOf" : "Roo.bootstrap.Button"
246 "name" : "removeClass",
248 "desc" : "remove the standard class..",
249 "memberOf" : "Roo.bootstrap.Button"
254 "desc" : "The button text.",
255 "memberOf" : "Roo.bootstrap.CardUploader"
260 "desc" : "default null - if the button ahs active state",
261 "memberOf" : "Roo.bootstrap.Button"
265 "type" : "Roo.bootstrap.menu.Menu",
267 "memberOf" : "Roo.bootstrap.Button"
274 "desc" : "addCard - add an Attachment to the uploader",
279 "isConstructor" : false,
291 "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 }",
300 "desc" : "set the text of the first selected button",
301 "sig" : "()\n{\n\n}",
303 "memberOf" : "Roo.bootstrap.Button",
305 "isConstructor" : false,
319 "desc" : "get the current active state",
320 "sig" : "()\n{\n\n}",
322 "memberOf" : "Roo.bootstrap.Button",
324 "isConstructor" : false,
337 "desc" : "true if it's active"
342 "name" : "setActive",
344 "desc" : "sets the active state on/off,",
347 "memberOf" : "Roo.bootstrap.Button",
349 "isConstructor" : false,
361 "desc" : "(optional) Force a particular state",
368 "name" : "toggleActive",
370 "desc" : "toggles the current active state",
371 "sig" : "()\n{\n\n}",
373 "memberOf" : "Roo.bootstrap.Button",
375 "isConstructor" : false,
389 "desc" : "get the text of the first selected button",
390 "sig" : "()\n{\n\n}",
392 "memberOf" : "Roo.bootstrap.Button",
394 "isConstructor" : false,
408 "desc" : "Enables this button",
409 "sig" : "()\n{\n\n}",
411 "memberOf" : "Roo.bootstrap.Button",
413 "isConstructor" : false,
427 "desc" : "Disable this button",
428 "sig" : "()\n{\n\n}",
430 "memberOf" : "Roo.bootstrap.Button",
432 "isConstructor" : false,
444 "name" : "tooltipEl",
446 "desc" : "Fetch the element to display the tooltip on.",
447 "sig" : "()\n{\n\n}",
449 "memberOf" : "Roo.bootstrap.Component",
451 "isConstructor" : false,
463 "type" : "Roo.Element",
464 "desc" : "defaults to this.el"
471 "desc" : "Hide a component - adds 'hidden' class",
472 "sig" : "()\n{\n\n}",
474 "memberOf" : "Roo.bootstrap.Component",
476 "isConstructor" : false,
490 "desc" : "Show a component - removes 'hidden' class",
491 "sig" : "()\n{\n\n}",
493 "memberOf" : "Roo.bootstrap.Component",
495 "isConstructor" : false,
507 "name" : "setVisibilityEl",
509 "desc" : "Set the element that will be used to show or hide",
510 "sig" : "()\n{\n\n}",
512 "memberOf" : "Roo.bootstrap.Component",
514 "isConstructor" : false,
526 "name" : "getVisibilityEl",
528 "desc" : "Get the element that will be used to show or hide",
529 "sig" : "()\n{\n\n}",
531 "memberOf" : "Roo.bootstrap.Component",
533 "isConstructor" : false,
545 "name" : "initEvents",
547 "desc" : "Initialize Events for the element",
548 "sig" : "()\n{\n\n}",
550 "memberOf" : "Roo.bootstrap.Component",
552 "isConstructor" : false,
564 "name" : "getChildContainer",
566 "desc" : "Fetch the element to add children to",
567 "sig" : "()\n{\n\n}",
569 "memberOf" : "Roo.bootstrap.Component",
571 "isConstructor" : false,
583 "type" : "Roo.Element",
584 "desc" : "defaults to this.el"
591 "desc" : "Returns the id of this component.",
592 "sig" : "()\n{\n\n}",
594 "memberOf" : "Roo.Component",
596 "isConstructor" : false,
616 "desc" : "If this is a lazy rendering component, render it to its container element.",
617 "sig" : "(container)",
619 "memberOf" : "Roo.Component",
621 "isConstructor" : false,
631 "name" : "container",
632 "type" : "String/HTMLElement/Element",
633 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
642 "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}.",
643 "sig" : "()\n{\n\n}",
645 "memberOf" : "Roo.Component",
647 "isConstructor" : false,
659 "name" : "isVisible",
661 "desc" : "Returns true if this component is visible.",
662 "sig" : "()\n{\n\n}",
664 "memberOf" : "Roo.Component",
666 "isConstructor" : false,
678 "name" : "setDisabled",
680 "desc" : "Convenience function for setting disabled/enabled by boolean.",
681 "sig" : "(disabled)",
683 "memberOf" : "Roo.Component",
685 "isConstructor" : false,
706 "desc" : "Try to focus this component.",
707 "sig" : "(selectText)",
709 "memberOf" : "Roo.Component",
711 "isConstructor" : false,
721 "name" : "selectText",
723 "desc" : "True to also select the text in this component (if applicable)",
730 "type" : "Roo.Component",
736 "name" : "setVisible",
738 "desc" : "Convenience function to hide or show this component by boolean.",
741 "memberOf" : "Roo.Component",
743 "isConstructor" : false,
755 "desc" : "True to show, false to hide",
762 "type" : "Roo.Component",
770 "desc" : "Returns the underlying {@link Roo.Element}.",
771 "sig" : "()\n{\n\n}",
773 "memberOf" : "Roo.Component",
775 "isConstructor" : false,
787 "type" : "Roo.Element",
788 "desc" : "The element"
793 "name" : "purgeListeners",
795 "desc" : "Removes all listeners for this object",
796 "sig" : "()\n{\n\n}",
798 "memberOf" : "Roo.util.Observable",
800 "isConstructor" : false,
814 "desc" : "Appends an event handler to this element (shorthand for addListener)",
815 "sig" : "(eventName, handler, scope, options)",
817 "memberOf" : "Roo.util.Observable",
819 "isConstructor" : false,
829 "name" : "eventName",
831 "desc" : "The type of event to listen for",
837 "desc" : "The method the event invokes",
843 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
849 "desc" : "(optional)",
858 "desc" : "Removes a listener (shorthand for removeListener)",
859 "sig" : "(eventName, handler, scope)",
861 "memberOf" : "Roo.util.Observable",
863 "isConstructor" : false,
873 "name" : "eventName",
875 "desc" : "The type of event to listen for",
881 "desc" : "The handler to remove",
887 "desc" : "(optional) The scope (this object) for the handler",
894 "name" : "addEvents",
896 "desc" : "Used to define events on this Observable",
899 "memberOf" : "Roo.util.Observable",
901 "isConstructor" : false,
913 "desc" : "The object with the events defined",
920 "name" : "releaseCapture",
922 "desc" : "Removes <b>all</b> added captures from the Observable.",
925 "memberOf" : "Roo.util.Observable",
927 "isConstructor" : false,
938 "type" : "Observable",
939 "desc" : "The Observable to release",
946 "name" : "removeListener",
948 "desc" : "Removes a listener",
949 "sig" : "(eventName, handler, scope)",
951 "memberOf" : "Roo.util.Observable",
953 "isConstructor" : false,
963 "name" : "eventName",
965 "desc" : "The type of event to listen for",
971 "desc" : "The handler to remove",
977 "desc" : "(optional) The scope (this object) for the handler",
984 "name" : "fireEvent",
986 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
987 "sig" : "(eventName, args)",
989 "memberOf" : "Roo.util.Observable",
991 "isConstructor" : false,
1001 "name" : "eventName",
1004 "isOptional" : false
1008 "type" : "Object...",
1009 "desc" : "Variable number of parameters are passed to handlers",
1010 "isOptional" : false
1017 "desc" : "returns false if any of the handlers return false otherwise it returns true"
1022 "name" : "hasListener",
1023 "type" : "function",
1024 "desc" : "Checks to see if this object has any listeners for a specified event",
1025 "sig" : "(eventName)",
1027 "memberOf" : "Roo.util.Observable",
1029 "isConstructor" : false,
1030 "isPrivate" : false,
1039 "name" : "eventName",
1041 "desc" : "The name of the event to check for",
1042 "isOptional" : false
1049 "desc" : "True if the event is being listened for, else false"
1055 "type" : "function",
1056 "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.",
1057 "sig" : "(o, fn, scope)",
1059 "memberOf" : "Roo.util.Observable",
1061 "isConstructor" : false,
1062 "isPrivate" : false,
1072 "type" : "Observable",
1073 "desc" : "The Observable to capture",
1074 "isOptional" : false
1078 "type" : "Function",
1079 "desc" : "The function to call",
1080 "isOptional" : false
1085 "desc" : "(optional) The scope (this object) for the fn",
1086 "isOptional" : false
1092 "name" : "addListener",
1093 "type" : "function",
1094 "desc" : "Appends an event handler to this component",
1095 "sig" : "(eventName, handler, scope, options)",
1097 "memberOf" : "Roo.util.Observable",
1099 "isConstructor" : false,
1100 "isPrivate" : false,
1109 "name" : "eventName",
1111 "desc" : "The type of event to listen for",
1112 "isOptional" : false
1116 "type" : "Function",
1117 "desc" : "The method the event invokes",
1118 "isOptional" : false
1123 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1124 "isOptional" : false
1129 "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>",
1130 "isOptional" : false
1138 "name" : "download",
1139 "type" : "function",
1140 "desc" : "When a the download link is clicked",
1141 "sig" : "function (_self, The)\n{\n\n}",
1150 "type" : "Roo.bootstrap.Card",
1152 "isOptional" : false
1157 "desc" : "image information data contains",
1158 "isOptional" : false
1165 "type" : "function",
1166 "desc" : "When a image is clicked on - and needs to display a slideshow or similar..",
1167 "sig" : "function (_self, The)\n{\n\n}",
1176 "type" : "Roo.bootstrap.Card",
1178 "isOptional" : false
1183 "desc" : "image information data",
1184 "isOptional" : false
1191 "type" : "function",
1192 "desc" : "After the button has been toggles",
1193 "sig" : "function (btn, e, pressed)\n{\n\n}",
1194 "memberOf" : "Roo.bootstrap.Button",
1202 "type" : "Roo.bootstrap.Button",
1204 "isOptional" : false
1208 "type" : "Roo.EventObject",
1210 "isOptional" : false
1215 "desc" : "(also available as button.pressed)",
1216 "isOptional" : false
1222 "name" : "dblclick",
1223 "type" : "function",
1224 "desc" : "When a button is double clicked",
1225 "sig" : "function (btn, e)\n{\n\n}",
1226 "memberOf" : "Roo.bootstrap.Button",
1234 "type" : "Roo.bootstrap.Button",
1236 "isOptional" : false
1240 "type" : "Roo.EventObject",
1242 "isOptional" : false
1249 "type" : "function",
1250 "desc" : "When a button is pressed",
1251 "sig" : "function (btn, e)\n{\n\n}",
1252 "memberOf" : "Roo.bootstrap.Button",
1260 "type" : "Roo.bootstrap.Button",
1262 "isOptional" : false
1266 "type" : "Roo.EventObject",
1268 "isOptional" : false
1274 "name" : "childrenrendered",
1275 "type" : "function",
1276 "desc" : "Fires when the children have been rendered..",
1277 "sig" : "function (_self)\n{\n\n}",
1278 "memberOf" : "Roo.bootstrap.Component",
1286 "type" : "Roo.bootstrap.Component",
1288 "isOptional" : false
1294 "name" : "beforerender",
1295 "type" : "function",
1296 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1297 "sig" : "function (_self)\n{\n\n}",
1298 "memberOf" : "Roo.Component",
1306 "type" : "Roo.Component",
1308 "isOptional" : false
1315 "type" : "function",
1316 "desc" : "Fires after the component is disabled.",
1317 "sig" : "function (_self)\n{\n\n}",
1318 "memberOf" : "Roo.Component",
1326 "type" : "Roo.Component",
1328 "isOptional" : false
1335 "type" : "function",
1336 "desc" : "Fires after the component is rendered.",
1337 "sig" : "function (_self)\n{\n\n}",
1338 "memberOf" : "Roo.Component",
1346 "type" : "Roo.Component",
1348 "isOptional" : false
1355 "type" : "function",
1356 "desc" : "Fires after the component is destroyed.",
1357 "sig" : "function (_self)\n{\n\n}",
1358 "memberOf" : "Roo.Component",
1366 "type" : "Roo.Component",
1368 "isOptional" : false
1375 "type" : "function",
1376 "desc" : "Fires after the component is hidden.",
1377 "sig" : "function (_self)\n{\n\n}",
1378 "memberOf" : "Roo.Component",
1386 "type" : "Roo.Component",
1388 "isOptional" : false
1394 "name" : "beforehide",
1395 "type" : "function",
1396 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1397 "sig" : "function (_self)\n{\n\n}",
1398 "memberOf" : "Roo.Component",
1406 "type" : "Roo.Component",
1408 "isOptional" : false
1415 "type" : "function",
1416 "desc" : "Fires after the component is shown.",
1417 "sig" : "function (_self)\n{\n\n}",
1418 "memberOf" : "Roo.Component",
1426 "type" : "Roo.Component",
1428 "isOptional" : false
1434 "name" : "beforeshow",
1435 "type" : "function",
1436 "desc" : "Fires before the component is shown. Return false to stop the show.",
1437 "sig" : "function (_self)\n{\n\n}",
1438 "memberOf" : "Roo.Component",
1446 "type" : "Roo.Component",
1448 "isOptional" : false
1455 "type" : "function",
1456 "desc" : "Fires after the component is enabled.",
1457 "sig" : "function (_self)\n{\n\n}",
1458 "memberOf" : "Roo.Component",
1466 "type" : "Roo.Component",
1468 "isOptional" : false
1474 "name" : "beforedestroy",
1475 "type" : "function",
1476 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1477 "sig" : "function (_self)\n{\n\n}",
1478 "memberOf" : "Roo.Component",
1486 "type" : "Roo.Component",
1488 "isOptional" : false