2 "name" : "Roo.bootstrap.CardUploader",
4 "Roo.bootstrap.Button",
5 "Roo.bootstrap.Component",
9 "desc" : "Bootstrap Card Uploader class - it's a button which when you add files to it, adds cards below with preview and the name...",
10 "isSingleton" : false,
13 "memberOf" : "CardUploader",
22 "desc" : "The config object",
33 "desc" : "is it a slidy toggle button",
34 "memberOf" : "Roo.bootstrap.Button"
39 "desc" : "dark themed version",
40 "memberOf" : "Roo.bootstrap.Button"
45 "desc" : "text for badge",
46 "memberOf" : "Roo.bootstrap.Button"
51 "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\".",
52 "memberOf" : "Roo.Component"
57 "desc" : "an array of ?? Img objects ??? when loading existing files..",
63 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
64 "memberOf" : "Roo.bootstrap.Component"
69 "desc" : "default false;",
70 "memberOf" : "Roo.bootstrap.Button"
75 "desc" : "Specifies name attribute",
76 "memberOf" : "Roo.bootstrap.Component"
81 "desc" : "k) default",
82 "memberOf" : "Roo.bootstrap.Button"
87 "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
88 "memberOf" : "Roo.bootstrap.Button"
93 "desc" : "Text for the tooltip",
94 "memberOf" : "Roo.bootstrap.Component"
99 "desc" : "text for on slidy toggle state",
100 "memberOf" : "Roo.bootstrap.Button"
103 "name" : "preventDefault",
105 "desc" : "default true (stop click event triggering the URL if it's a link.)",
106 "memberOf" : "Roo.bootstrap.Button"
112 "memberOf" : "Roo.bootstrap.Button"
117 "desc" : "r) target for a href.",
118 "memberOf" : "Roo.bootstrap.Button"
121 "name" : "glyphicon",
123 "desc" : "depricated - use fa",
124 "memberOf" : "Roo.bootstrap.Button"
127 "name" : "allowDomMove",
129 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
130 "memberOf" : "Roo.Component"
135 "desc" : "any extra css",
136 "memberOf" : "Roo.bootstrap.Component"
141 "desc" : "default false;",
142 "memberOf" : "Roo.bootstrap.Button"
145 "name" : "errorTimeout",
147 "desc" : "default 3000",
151 "name" : "actionMode",
153 "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",
154 "memberOf" : "Roo.Component"
157 "name" : "listeners",
159 "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>",
160 "memberOf" : "Roo.util.Observable"
163 "name" : "container_method",
165 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
166 "memberOf" : "Roo.bootstrap.Component"
171 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
172 "memberOf" : "Roo.bootstrap.Button"
178 "memberOf" : "Roo.bootstrap.Button"
183 "desc" : "css class",
184 "memberOf" : "Roo.bootstrap.Component"
187 "name" : "badge_weight",
189 "desc" : "k) default (same as button)",
190 "memberOf" : "Roo.bootstrap.Button"
193 "name" : "can_build_overlaid",
195 "desc" : "True if element can be rebuild from a HTML page",
196 "memberOf" : "Roo.bootstrap.Component"
199 "name" : "disableClass",
201 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
202 "memberOf" : "Roo.Component"
205 "name" : "visibilityEl",
206 "type" : "string|object",
207 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
208 "memberOf" : "Roo.bootstrap.Component"
213 "desc" : "empty or href",
214 "memberOf" : "Roo.bootstrap.Button"
220 "memberOf" : "Roo.bootstrap.Button"
225 "desc" : "cutomer id",
226 "memberOf" : "Roo.bootstrap.Component"
231 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
232 "memberOf" : "Roo.bootstrap.Button"
237 "desc" : "text for off slidy toggle state",
238 "memberOf" : "Roo.bootstrap.Button"
241 "name" : "removeClass",
243 "desc" : "remove the standard class..",
244 "memberOf" : "Roo.bootstrap.Button"
249 "desc" : "The button text.",
255 "desc" : "default null - if the button ahs active state",
256 "memberOf" : "Roo.bootstrap.Button"
263 "desc" : "addCard - add an Attachment to the uploader",
268 "isConstructor" : false,
280 "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 }",
289 "desc" : "set the text of the first selected button",
290 "sig" : "()\n{\n\n}",
292 "memberOf" : "Roo.bootstrap.Button",
294 "isConstructor" : false,
308 "desc" : "get the current active state",
309 "sig" : "()\n{\n\n}",
311 "memberOf" : "Roo.bootstrap.Button",
313 "isConstructor" : false,
326 "desc" : "true if it's active"
331 "name" : "setActive",
333 "desc" : "sets the active state on/off,",
336 "memberOf" : "Roo.bootstrap.Button",
338 "isConstructor" : false,
350 "desc" : "(optional) Force a particular state",
357 "name" : "toggleActive",
359 "desc" : "toggles the current active state",
360 "sig" : "()\n{\n\n}",
362 "memberOf" : "Roo.bootstrap.Button",
364 "isConstructor" : false,
378 "desc" : "get the text of the first selected button",
379 "sig" : "()\n{\n\n}",
381 "memberOf" : "Roo.bootstrap.Button",
383 "isConstructor" : false,
397 "desc" : "Enables this button",
398 "sig" : "()\n{\n\n}",
400 "memberOf" : "Roo.bootstrap.Button",
402 "isConstructor" : false,
416 "desc" : "Disable this button",
417 "sig" : "()\n{\n\n}",
419 "memberOf" : "Roo.bootstrap.Button",
421 "isConstructor" : false,
433 "name" : "tooltipEl",
435 "desc" : "Fetch the element to display the tooltip on.",
436 "sig" : "()\n{\n\n}",
438 "memberOf" : "Roo.bootstrap.Component",
440 "isConstructor" : false,
452 "type" : "Roo.Element",
453 "desc" : "defaults to this.el"
460 "desc" : "Hide a component - adds 'hidden' class",
461 "sig" : "()\n{\n\n}",
463 "memberOf" : "Roo.bootstrap.Component",
465 "isConstructor" : false,
479 "desc" : "Show a component - removes 'hidden' class",
480 "sig" : "()\n{\n\n}",
482 "memberOf" : "Roo.bootstrap.Component",
484 "isConstructor" : false,
496 "name" : "setVisibilityEl",
498 "desc" : "Set the element that will be used to show or hide",
499 "sig" : "()\n{\n\n}",
501 "memberOf" : "Roo.bootstrap.Component",
503 "isConstructor" : false,
515 "name" : "getVisibilityEl",
517 "desc" : "Get the element that will be used to show or hide",
518 "sig" : "()\n{\n\n}",
520 "memberOf" : "Roo.bootstrap.Component",
522 "isConstructor" : false,
534 "name" : "initEvents",
536 "desc" : "Initialize Events for the element",
537 "sig" : "()\n{\n\n}",
539 "memberOf" : "Roo.bootstrap.Component",
541 "isConstructor" : false,
553 "name" : "getChildContainer",
555 "desc" : "Fetch the element to add children to",
556 "sig" : "()\n{\n\n}",
558 "memberOf" : "Roo.bootstrap.Component",
560 "isConstructor" : false,
572 "type" : "Roo.Element",
573 "desc" : "defaults to this.el"
580 "desc" : "Returns the id of this component.",
581 "sig" : "()\n{\n\n}",
583 "memberOf" : "Roo.Component",
585 "isConstructor" : false,
605 "desc" : "If this is a lazy rendering component, render it to its container element.",
606 "sig" : "(container)",
608 "memberOf" : "Roo.Component",
610 "isConstructor" : false,
620 "name" : "container",
621 "type" : "String/HTMLElement/Element",
622 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
631 "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}.",
632 "sig" : "()\n{\n\n}",
634 "memberOf" : "Roo.Component",
636 "isConstructor" : false,
648 "name" : "isVisible",
650 "desc" : "Returns true if this component is visible.",
651 "sig" : "()\n{\n\n}",
653 "memberOf" : "Roo.Component",
655 "isConstructor" : false,
667 "name" : "setDisabled",
669 "desc" : "Convenience function for setting disabled/enabled by boolean.",
670 "sig" : "(disabled)",
672 "memberOf" : "Roo.Component",
674 "isConstructor" : false,
695 "desc" : "Try to focus this component.",
696 "sig" : "(selectText)",
698 "memberOf" : "Roo.Component",
700 "isConstructor" : false,
710 "name" : "selectText",
712 "desc" : "True to also select the text in this component (if applicable)",
719 "type" : "Roo.Component",
725 "name" : "setVisible",
727 "desc" : "Convenience function to hide or show this component by boolean.",
730 "memberOf" : "Roo.Component",
732 "isConstructor" : false,
744 "desc" : "True to show, false to hide",
751 "type" : "Roo.Component",
759 "desc" : "Returns the underlying {@link Roo.Element}.",
760 "sig" : "()\n{\n\n}",
762 "memberOf" : "Roo.Component",
764 "isConstructor" : false,
776 "type" : "Roo.Element",
777 "desc" : "The element"
782 "name" : "purgeListeners",
784 "desc" : "Removes all listeners for this object",
785 "sig" : "()\n{\n\n}",
787 "memberOf" : "Roo.util.Observable",
789 "isConstructor" : false,
803 "desc" : "Appends an event handler to this element (shorthand for addListener)",
804 "sig" : "(eventName, handler, scope, options)",
806 "memberOf" : "Roo.util.Observable",
808 "isConstructor" : false,
818 "name" : "eventName",
820 "desc" : "The type of event to listen for",
826 "desc" : "The method the event invokes",
832 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
838 "desc" : "(optional)",
847 "desc" : "Removes a listener (shorthand for removeListener)",
848 "sig" : "(eventName, handler, scope)",
850 "memberOf" : "Roo.util.Observable",
852 "isConstructor" : false,
862 "name" : "eventName",
864 "desc" : "The type of event to listen for",
870 "desc" : "The handler to remove",
876 "desc" : "(optional) The scope (this object) for the handler",
883 "name" : "addEvents",
885 "desc" : "Used to define events on this Observable",
888 "memberOf" : "Roo.util.Observable",
890 "isConstructor" : false,
902 "desc" : "The object with the events defined",
909 "name" : "releaseCapture",
911 "desc" : "Removes <b>all</b> added captures from the Observable.",
914 "memberOf" : "Roo.util.Observable",
916 "isConstructor" : false,
927 "type" : "Observable",
928 "desc" : "The Observable to release",
935 "name" : "removeListener",
937 "desc" : "Removes a listener",
938 "sig" : "(eventName, handler, scope)",
940 "memberOf" : "Roo.util.Observable",
942 "isConstructor" : false,
952 "name" : "eventName",
954 "desc" : "The type of event to listen for",
960 "desc" : "The handler to remove",
966 "desc" : "(optional) The scope (this object) for the handler",
973 "name" : "fireEvent",
975 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
976 "sig" : "(eventName, args)",
978 "memberOf" : "Roo.util.Observable",
980 "isConstructor" : false,
990 "name" : "eventName",
997 "type" : "Object...",
998 "desc" : "Variable number of parameters are passed to handlers",
1006 "desc" : "returns false if any of the handlers return false otherwise it returns true"
1011 "name" : "hasListener",
1012 "type" : "function",
1013 "desc" : "Checks to see if this object has any listeners for a specified event",
1014 "sig" : "(eventName)",
1016 "memberOf" : "Roo.util.Observable",
1018 "isConstructor" : false,
1019 "isPrivate" : false,
1028 "name" : "eventName",
1030 "desc" : "The name of the event to check for",
1031 "isOptional" : false
1038 "desc" : "True if the event is being listened for, else false"
1044 "type" : "function",
1045 "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.",
1046 "sig" : "(o, fn, scope)",
1048 "memberOf" : "Roo.util.Observable",
1050 "isConstructor" : false,
1051 "isPrivate" : false,
1061 "type" : "Observable",
1062 "desc" : "The Observable to capture",
1063 "isOptional" : false
1067 "type" : "Function",
1068 "desc" : "The function to call",
1069 "isOptional" : false
1074 "desc" : "(optional) The scope (this object) for the fn",
1075 "isOptional" : false
1081 "name" : "addListener",
1082 "type" : "function",
1083 "desc" : "Appends an event handler to this component",
1084 "sig" : "(eventName, handler, scope, options)",
1086 "memberOf" : "Roo.util.Observable",
1088 "isConstructor" : false,
1089 "isPrivate" : false,
1098 "name" : "eventName",
1100 "desc" : "The type of event to listen for",
1101 "isOptional" : false
1105 "type" : "Function",
1106 "desc" : "The method the event invokes",
1107 "isOptional" : false
1112 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1113 "isOptional" : false
1118 "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>",
1119 "isOptional" : false
1127 "name" : "download",
1128 "type" : "function",
1129 "desc" : "When a the download link is clicked",
1130 "sig" : "function (_self, The)\n{\n\n}",
1139 "type" : "Roo.bootstrap.Card",
1141 "isOptional" : false
1146 "desc" : "image information data contains",
1147 "isOptional" : false
1154 "type" : "function",
1155 "desc" : "When a image is clicked on - and needs to display a slideshow or similar..",
1156 "sig" : "function (_self, The)\n{\n\n}",
1165 "type" : "Roo.bootstrap.Card",
1167 "isOptional" : false
1172 "desc" : "image information data",
1173 "isOptional" : false
1180 "type" : "function",
1181 "desc" : "After the button has been toggles",
1182 "sig" : "function (btn, e, pressed)\n{\n\n}",
1183 "memberOf" : "Roo.bootstrap.Button",
1191 "type" : "Roo.bootstrap.Button",
1193 "isOptional" : false
1197 "type" : "Roo.EventObject",
1199 "isOptional" : false
1204 "desc" : "(also available as button.pressed)",
1205 "isOptional" : false
1211 "name" : "dblclick",
1212 "type" : "function",
1213 "desc" : "When a button is double clicked",
1214 "sig" : "function (btn, e)\n{\n\n}",
1215 "memberOf" : "Roo.bootstrap.Button",
1223 "type" : "Roo.bootstrap.Button",
1225 "isOptional" : false
1229 "type" : "Roo.EventObject",
1231 "isOptional" : false
1238 "type" : "function",
1239 "desc" : "When a button is pressed",
1240 "sig" : "function (btn, e)\n{\n\n}",
1241 "memberOf" : "Roo.bootstrap.Button",
1249 "type" : "Roo.bootstrap.Button",
1251 "isOptional" : false
1255 "type" : "Roo.EventObject",
1257 "isOptional" : false
1263 "name" : "childrenrendered",
1264 "type" : "function",
1265 "desc" : "Fires when the children have been rendered..",
1266 "sig" : "function (_self)\n{\n\n}",
1267 "memberOf" : "Roo.bootstrap.Component",
1275 "type" : "Roo.bootstrap.Component",
1277 "isOptional" : false
1283 "name" : "beforerender",
1284 "type" : "function",
1285 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1286 "sig" : "function (_self)\n{\n\n}",
1287 "memberOf" : "Roo.Component",
1295 "type" : "Roo.Component",
1297 "isOptional" : false
1304 "type" : "function",
1305 "desc" : "Fires after the component is disabled.",
1306 "sig" : "function (_self)\n{\n\n}",
1307 "memberOf" : "Roo.Component",
1315 "type" : "Roo.Component",
1317 "isOptional" : false
1324 "type" : "function",
1325 "desc" : "Fires after the component is rendered.",
1326 "sig" : "function (_self)\n{\n\n}",
1327 "memberOf" : "Roo.Component",
1335 "type" : "Roo.Component",
1337 "isOptional" : false
1344 "type" : "function",
1345 "desc" : "Fires after the component is destroyed.",
1346 "sig" : "function (_self)\n{\n\n}",
1347 "memberOf" : "Roo.Component",
1355 "type" : "Roo.Component",
1357 "isOptional" : false
1364 "type" : "function",
1365 "desc" : "Fires after the component is hidden.",
1366 "sig" : "function (_self)\n{\n\n}",
1367 "memberOf" : "Roo.Component",
1375 "type" : "Roo.Component",
1377 "isOptional" : false
1383 "name" : "beforehide",
1384 "type" : "function",
1385 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1386 "sig" : "function (_self)\n{\n\n}",
1387 "memberOf" : "Roo.Component",
1395 "type" : "Roo.Component",
1397 "isOptional" : false
1404 "type" : "function",
1405 "desc" : "Fires after the component is shown.",
1406 "sig" : "function (_self)\n{\n\n}",
1407 "memberOf" : "Roo.Component",
1415 "type" : "Roo.Component",
1417 "isOptional" : false
1423 "name" : "beforeshow",
1424 "type" : "function",
1425 "desc" : "Fires before the component is shown. Return false to stop the show.",
1426 "sig" : "function (_self)\n{\n\n}",
1427 "memberOf" : "Roo.Component",
1435 "type" : "Roo.Component",
1437 "isOptional" : false
1444 "type" : "function",
1445 "desc" : "Fires after the component is enabled.",
1446 "sig" : "function (_self)\n{\n\n}",
1447 "memberOf" : "Roo.Component",
1455 "type" : "Roo.Component",
1457 "isOptional" : false
1463 "name" : "beforedestroy",
1464 "type" : "function",
1465 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1466 "sig" : "function (_self)\n{\n\n}",
1467 "memberOf" : "Roo.Component",
1475 "type" : "Roo.Component",
1477 "isOptional" : false