Changed docs/json/roodata.jsondocs/src/Roo_bootstrap_CardUploader.js.htmldocs/symbols...
[roojs1] / docs / symbols / Roo.bootstrap.CardUploader.json
1 {
2   "name" : "Roo.bootstrap.CardUploader",
3   "augments" : [
4     "Roo.bootstrap.Button",
5     "Roo.bootstrap.Component",
6     "Roo.Component",
7     "Roo.util.Observable"
8   ],
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,
11   "isStatic" : false,
12   "isBuiltin" : false,
13   "memberOf" : "CardUploader",
14   "example" : "",
15   "deprecated" : "",
16   "since" : "",
17   "see" : "",
18   "params" : [
19     {
20       "name" : "config",
21       "type" : "Object",
22       "desc" : "The config object",
23       "isOptional" : false
24     }
25   ],
26   "returns" : [],
27   "config" : [
28     {
29       "name" : "toggle",
30       "type" : "Boolean",
31       "desc" : "is it a slidy toggle button",
32       "memberOf" : "Roo.bootstrap.Button",
33       "optvals" : []
34     },
35     {
36       "name" : "inverse",
37       "type" : "Boolean",
38       "desc" : "dark themed version",
39       "memberOf" : "Roo.bootstrap.Button",
40       "optvals" : []
41     },
42     {
43       "name" : "badge",
44       "type" : "String",
45       "desc" : "text for badge",
46       "memberOf" : "Roo.bootstrap.Button",
47       "optvals" : []
48     },
49     {
50       "name" : "hideMode",
51       "type" : "String",
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",
54       "optvals" : [
55         "display",
56         "visibility"
57       ]
58     },
59     {
60       "name" : "images",
61       "type" : "Array",
62       "desc" : "an array of ?? Img objects ??? when loading existing files..",
63       "memberOf" : "Roo.bootstrap.CardUploader",
64       "optvals" : []
65     },
66     {
67       "name" : "xattr",
68       "type" : "Object",
69       "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
70       "memberOf" : "Roo.bootstrap.Component",
71       "optvals" : []
72     },
73     {
74       "name" : "disabled",
75       "type" : "Boolean",
76       "desc" : "default false;",
77       "memberOf" : "Roo.bootstrap.Button",
78       "optvals" : []
79     },
80     {
81       "name" : "name",
82       "type" : "string",
83       "desc" : "Specifies name attribute",
84       "memberOf" : "Roo.bootstrap.Component",
85       "optvals" : []
86     },
87     {
88       "name" : "weight",
89       "type" : "String",
90       "desc" : "k) default",
91       "memberOf" : "Roo.bootstrap.Button",
92       "optvals" : [
93         "default",
94         "primary",
95         "secondary",
96         "success",
97         "info",
98         "warning",
99         "danger",
100         "link",
101         "light",
102         "dark"
103       ]
104     },
105     {
106       "name" : "grpup",
107       "type" : "Boolean",
108       "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
109       "memberOf" : "Roo.bootstrap.Button",
110       "optvals" : []
111     },
112     {
113       "name" : "tooltip",
114       "type" : "string",
115       "desc" : "Text for the tooltip",
116       "memberOf" : "Roo.bootstrap.Component",
117       "optvals" : []
118     },
119     {
120       "name" : "ontext",
121       "type" : "String",
122       "desc" : "text for on slidy toggle state",
123       "memberOf" : "Roo.bootstrap.Button",
124       "optvals" : []
125     },
126     {
127       "name" : "preventDefault",
128       "type" : "Boolean",
129       "desc" : "default true (stop click event triggering the URL if it's a link.)",
130       "memberOf" : "Roo.bootstrap.Button",
131       "optvals" : []
132     },
133     {
134       "name" : "theme",
135       "type" : "String",
136       "desc" : "w)",
137       "memberOf" : "Roo.bootstrap.Button",
138       "optvals" : [
139         "default",
140         "glow"
141       ]
142     },
143     {
144       "name" : "target",
145       "type" : "String",
146       "desc" : "r) target for a href.",
147       "memberOf" : "Roo.bootstrap.Button",
148       "optvals" : [
149         "_self",
150         "_blank",
151         "_parent",
152         "_top",
153         "other"
154       ]
155     },
156     {
157       "name" : "glyphicon",
158       "type" : "String",
159       "desc" : "depricated - use fa",
160       "memberOf" : "Roo.bootstrap.Button",
161       "optvals" : []
162     },
163     {
164       "name" : "allowDomMove",
165       "type" : "Boolean",
166       "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
167       "memberOf" : "Roo.Component",
168       "optvals" : []
169     },
170     {
171       "name" : "style",
172       "type" : "String",
173       "desc" : "any extra css",
174       "memberOf" : "Roo.bootstrap.Component",
175       "optvals" : []
176     },
177     {
178       "name" : "isClose",
179       "type" : "Boolean",
180       "desc" : "default false;",
181       "memberOf" : "Roo.bootstrap.Button",
182       "optvals" : []
183     },
184     {
185       "name" : "errorTimeout",
186       "type" : "Number",
187       "desc" : "default 3000",
188       "memberOf" : "Roo.bootstrap.CardUploader",
189       "optvals" : []
190     },
191     {
192       "name" : "actionMode",
193       "type" : "String",
194       "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",
195       "memberOf" : "Roo.Component",
196       "optvals" : []
197     },
198     {
199       "name" : "listeners",
200       "type" : "Object",
201       "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>",
202       "memberOf" : "Roo.util.Observable",
203       "optvals" : []
204     },
205     {
206       "name" : "container_method",
207       "type" : "string",
208       "desc" : "method to fetch parents container element (used by NavHeaderbar -  getHeaderChildContainer)",
209       "memberOf" : "Roo.bootstrap.Component",
210       "optvals" : []
211     },
212     {
213       "name" : "fa",
214       "type" : "String",
215       "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
216       "memberOf" : "Roo.bootstrap.Button",
217       "optvals" : []
218     },
219     {
220       "name" : "size",
221       "type" : "String",
222       "desc" : "s)",
223       "memberOf" : "Roo.bootstrap.Button",
224       "optvals" : [
225         "lg",
226         "sm",
227         "xs"
228       ]
229     },
230     {
231       "name" : "cls",
232       "type" : "String",
233       "desc" : "css class",
234       "memberOf" : "Roo.bootstrap.Component",
235       "optvals" : []
236     },
237     {
238       "name" : "badge_weight",
239       "type" : "String",
240       "desc" : "k) default (same as button)",
241       "memberOf" : "Roo.bootstrap.Button",
242       "optvals" : [
243         "default",
244         "primary",
245         "secondary",
246         "success",
247         "info",
248         "warning",
249         "danger",
250         "link",
251         "light",
252         "dark"
253       ]
254     },
255     {
256       "name" : "can_build_overlaid",
257       "type" : "Boolean",
258       "desc" : "True if element can be rebuild from a HTML page",
259       "memberOf" : "Roo.bootstrap.Component",
260       "optvals" : []
261     },
262     {
263       "name" : "disableClass",
264       "type" : "String",
265       "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
266       "memberOf" : "Roo.Component",
267       "optvals" : []
268     },
269     {
270       "name" : "visibilityEl",
271       "type" : "string|object",
272       "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
273       "memberOf" : "Roo.bootstrap.Component",
274       "optvals" : [
275         "el",
276         "parent"
277       ]
278     },
279     {
280       "name" : "href",
281       "type" : "String",
282       "desc" : "empty or href",
283       "memberOf" : "Roo.bootstrap.Button",
284       "optvals" : []
285     },
286     {
287       "name" : "tag",
288       "type" : "String",
289       "desc" : "t)",
290       "memberOf" : "Roo.bootstrap.Button",
291       "optvals" : [
292         "a",
293         "input",
294         "submit"
295       ]
296     },
297     {
298       "name" : "dataId",
299       "type" : "string",
300       "desc" : "cutomer id",
301       "memberOf" : "Roo.bootstrap.Component",
302       "optvals" : []
303     },
304     {
305       "name" : "outline",
306       "type" : "Boolean",
307       "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
308       "memberOf" : "Roo.bootstrap.Button",
309       "optvals" : []
310     },
311     {
312       "name" : "offtext",
313       "type" : "String",
314       "desc" : "text for off slidy toggle state",
315       "memberOf" : "Roo.bootstrap.Button",
316       "optvals" : []
317     },
318     {
319       "name" : "removeClass",
320       "type" : "Boolean",
321       "desc" : "remove the standard class..",
322       "memberOf" : "Roo.bootstrap.Button",
323       "optvals" : []
324     },
325     {
326       "name" : "html",
327       "type" : "Array",
328       "desc" : "The button text.",
329       "memberOf" : "Roo.bootstrap.CardUploader",
330       "optvals" : []
331     },
332     {
333       "name" : "pressed",
334       "type" : "Boolean",
335       "desc" : "default null - if the button ahs active state",
336       "memberOf" : "Roo.bootstrap.Button",
337       "optvals" : []
338     }
339   ],
340   "methods" : [
341     {
342       "name" : "addCard",
343       "desc" : "addCard - add an Attachment to the uploader",
344       "isStatic" : false,
345       "isConstructor" : false,
346       "isPrivate" : false,
347       "memberOf" : "Roo.bootstrap.CardUploader",
348       "example" : "",
349       "deprecated" : "",
350       "since" : "",
351       "see" : "",
352       "params" : [
353         {
354           "name" : "data",
355           "type" : "",
356           "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        }",
357           "isOptional" : false
358         }
359       ],
360       "returns" : []
361     },
362     {
363       "name" : "setText",
364       "desc" : "set the text of the first selected button",
365       "isStatic" : false,
366       "isConstructor" : false,
367       "isPrivate" : false,
368       "memberOf" : "Roo.bootstrap.Button",
369       "example" : "",
370       "deprecated" : "",
371       "since" : "",
372       "see" : "",
373       "params" : [],
374       "returns" : []
375     },
376     {
377       "name" : "isActive",
378       "desc" : "get the current active state",
379       "isStatic" : false,
380       "isConstructor" : false,
381       "isPrivate" : false,
382       "memberOf" : "Roo.bootstrap.Button",
383       "example" : "",
384       "deprecated" : "",
385       "since" : "",
386       "see" : "",
387       "params" : [],
388       "returns" : [
389         {
390           "name" : "",
391           "type" : "boolean",
392           "desc" : "true if it's active"
393         }
394       ]
395     },
396     {
397       "name" : "setActive",
398       "desc" : "sets the active state on/off,",
399       "isStatic" : false,
400       "isConstructor" : false,
401       "isPrivate" : false,
402       "memberOf" : "Roo.bootstrap.Button",
403       "example" : "",
404       "deprecated" : "",
405       "since" : "",
406       "see" : "",
407       "params" : [
408         {
409           "name" : "state",
410           "type" : "Boolean",
411           "desc" : "(optional) Force a particular state",
412           "isOptional" : false
413         }
414       ],
415       "returns" : []
416     },
417     {
418       "name" : "toggleActive",
419       "desc" : "toggles the current active state",
420       "isStatic" : false,
421       "isConstructor" : false,
422       "isPrivate" : false,
423       "memberOf" : "Roo.bootstrap.Button",
424       "example" : "",
425       "deprecated" : "",
426       "since" : "",
427       "see" : "",
428       "params" : [],
429       "returns" : []
430     },
431     {
432       "name" : "getText",
433       "desc" : "get the text of the first selected button",
434       "isStatic" : false,
435       "isConstructor" : false,
436       "isPrivate" : false,
437       "memberOf" : "Roo.bootstrap.Button",
438       "example" : "",
439       "deprecated" : "",
440       "since" : "",
441       "see" : "",
442       "params" : [],
443       "returns" : []
444     },
445     {
446       "name" : "enable",
447       "desc" : "Enables this button",
448       "isStatic" : false,
449       "isConstructor" : false,
450       "isPrivate" : false,
451       "memberOf" : "Roo.bootstrap.Button",
452       "example" : "",
453       "deprecated" : "",
454       "since" : "",
455       "see" : "",
456       "params" : [],
457       "returns" : []
458     },
459     {
460       "name" : "disable",
461       "desc" : "Disable this button",
462       "isStatic" : false,
463       "isConstructor" : false,
464       "isPrivate" : false,
465       "memberOf" : "Roo.bootstrap.Button",
466       "example" : "",
467       "deprecated" : "",
468       "since" : "",
469       "see" : "",
470       "params" : [],
471       "returns" : []
472     },
473     {
474       "name" : "tooltipEl",
475       "desc" : "Fetch the element to display the tooltip on.",
476       "isStatic" : false,
477       "isConstructor" : false,
478       "isPrivate" : false,
479       "memberOf" : "Roo.bootstrap.Component",
480       "example" : "",
481       "deprecated" : "",
482       "since" : "",
483       "see" : "",
484       "params" : [],
485       "returns" : [
486         {
487           "name" : "",
488           "type" : "Roo.Element",
489           "desc" : "defaults to this.el"
490         }
491       ]
492     },
493     {
494       "name" : "hide",
495       "desc" : "Hide a component - adds 'hidden' class",
496       "isStatic" : false,
497       "isConstructor" : false,
498       "isPrivate" : false,
499       "memberOf" : "Roo.bootstrap.Component",
500       "example" : "",
501       "deprecated" : "",
502       "since" : "",
503       "see" : "",
504       "params" : [],
505       "returns" : []
506     },
507     {
508       "name" : "show",
509       "desc" : "Show a component - removes 'hidden' class",
510       "isStatic" : false,
511       "isConstructor" : false,
512       "isPrivate" : false,
513       "memberOf" : "Roo.bootstrap.Component",
514       "example" : "",
515       "deprecated" : "",
516       "since" : "",
517       "see" : "",
518       "params" : [],
519       "returns" : []
520     },
521     {
522       "name" : "setVisibilityEl",
523       "desc" : "Set the element that will be used to show or hide",
524       "isStatic" : false,
525       "isConstructor" : false,
526       "isPrivate" : false,
527       "memberOf" : "Roo.bootstrap.Component",
528       "example" : "",
529       "deprecated" : "",
530       "since" : "",
531       "see" : "",
532       "params" : [],
533       "returns" : []
534     },
535     {
536       "name" : "getVisibilityEl",
537       "desc" : "Get the element that will be used to show or hide",
538       "isStatic" : false,
539       "isConstructor" : false,
540       "isPrivate" : false,
541       "memberOf" : "Roo.bootstrap.Component",
542       "example" : "",
543       "deprecated" : "",
544       "since" : "",
545       "see" : "",
546       "params" : [],
547       "returns" : []
548     },
549     {
550       "name" : "initEvents",
551       "desc" : "Initialize Events for the element",
552       "isStatic" : false,
553       "isConstructor" : false,
554       "isPrivate" : false,
555       "memberOf" : "Roo.bootstrap.Component",
556       "example" : "",
557       "deprecated" : "",
558       "since" : "",
559       "see" : "",
560       "params" : [],
561       "returns" : []
562     },
563     {
564       "name" : "getChildContainer",
565       "desc" : "Fetch the element to add children to",
566       "isStatic" : false,
567       "isConstructor" : false,
568       "isPrivate" : false,
569       "memberOf" : "Roo.bootstrap.Component",
570       "example" : "",
571       "deprecated" : "",
572       "since" : "",
573       "see" : "",
574       "params" : [],
575       "returns" : [
576         {
577           "name" : "",
578           "type" : "Roo.Element",
579           "desc" : "defaults to this.el"
580         }
581       ]
582     },
583     {
584       "name" : "getId",
585       "desc" : "Returns the id of this component.",
586       "isStatic" : false,
587       "isConstructor" : false,
588       "isPrivate" : false,
589       "memberOf" : "Roo.Component",
590       "example" : "",
591       "deprecated" : "",
592       "since" : "",
593       "see" : "",
594       "params" : [],
595       "returns" : [
596         {
597           "name" : "",
598           "type" : "String",
599           "desc" : ""
600         }
601       ]
602     },
603     {
604       "name" : "render",
605       "desc" : "If this is a lazy rendering component, render it to its container element.",
606       "isStatic" : false,
607       "isConstructor" : false,
608       "isPrivate" : false,
609       "memberOf" : "Roo.Component",
610       "example" : "",
611       "deprecated" : "",
612       "since" : "",
613       "see" : "",
614       "params" : [
615         {
616           "name" : "container",
617           "type" : "String/HTMLElement/Element",
618           "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
619           "isOptional" : false
620         }
621       ],
622       "returns" : []
623     },
624     {
625       "name" : "destroy",
626       "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}.",
627       "isStatic" : false,
628       "isConstructor" : false,
629       "isPrivate" : false,
630       "memberOf" : "Roo.Component",
631       "example" : "",
632       "deprecated" : "",
633       "since" : "",
634       "see" : "",
635       "params" : [],
636       "returns" : []
637     },
638     {
639       "name" : "isVisible",
640       "desc" : "Returns true if this component is visible.",
641       "isStatic" : false,
642       "isConstructor" : false,
643       "isPrivate" : false,
644       "memberOf" : "Roo.Component",
645       "example" : "",
646       "deprecated" : "",
647       "since" : "",
648       "see" : "",
649       "params" : [],
650       "returns" : []
651     },
652     {
653       "name" : "setDisabled",
654       "desc" : "Convenience function for setting disabled/enabled by boolean.",
655       "isStatic" : false,
656       "isConstructor" : false,
657       "isPrivate" : false,
658       "memberOf" : "Roo.Component",
659       "example" : "",
660       "deprecated" : "",
661       "since" : "",
662       "see" : "",
663       "params" : [
664         {
665           "name" : "disabled",
666           "type" : "Boolean",
667           "desc" : "",
668           "isOptional" : false
669         }
670       ],
671       "returns" : []
672     },
673     {
674       "name" : "focus",
675       "desc" : "Try to focus this component.",
676       "isStatic" : false,
677       "isConstructor" : false,
678       "isPrivate" : false,
679       "memberOf" : "Roo.Component",
680       "example" : "",
681       "deprecated" : "",
682       "since" : "",
683       "see" : "",
684       "params" : [
685         {
686           "name" : "selectText",
687           "type" : "Boolean",
688           "desc" : "True to also select the text in this component (if applicable)",
689           "isOptional" : false
690         }
691       ],
692       "returns" : [
693         {
694           "name" : "",
695           "type" : "Roo.Component",
696           "desc" : "this"
697         }
698       ]
699     },
700     {
701       "name" : "setVisible",
702       "desc" : "Convenience function to hide or show this component by boolean.",
703       "isStatic" : false,
704       "isConstructor" : false,
705       "isPrivate" : false,
706       "memberOf" : "Roo.Component",
707       "example" : "",
708       "deprecated" : "",
709       "since" : "",
710       "see" : "",
711       "params" : [
712         {
713           "name" : "visible",
714           "type" : "Boolean",
715           "desc" : "True to show, false to hide",
716           "isOptional" : false
717         }
718       ],
719       "returns" : [
720         {
721           "name" : "",
722           "type" : "Roo.Component",
723           "desc" : "this"
724         }
725       ]
726     },
727     {
728       "name" : "getEl",
729       "desc" : "Returns the underlying {@link Roo.Element}.",
730       "isStatic" : false,
731       "isConstructor" : false,
732       "isPrivate" : false,
733       "memberOf" : "Roo.Component",
734       "example" : "",
735       "deprecated" : "",
736       "since" : "",
737       "see" : "",
738       "params" : [],
739       "returns" : [
740         {
741           "name" : "",
742           "type" : "Roo.Element",
743           "desc" : "The element"
744         }
745       ]
746     },
747     {
748       "name" : "purgeListeners",
749       "desc" : "Removes all listeners for this object",
750       "isStatic" : false,
751       "isConstructor" : false,
752       "isPrivate" : false,
753       "memberOf" : "Roo.util.Observable",
754       "example" : "",
755       "deprecated" : "",
756       "since" : "",
757       "see" : "",
758       "params" : [],
759       "returns" : []
760     },
761     {
762       "name" : "on",
763       "desc" : "Appends an event handler to this element (shorthand for addListener)",
764       "isStatic" : false,
765       "isConstructor" : false,
766       "isPrivate" : false,
767       "memberOf" : "Roo.util.Observable",
768       "example" : "",
769       "deprecated" : "",
770       "since" : "",
771       "see" : "",
772       "params" : [
773         {
774           "name" : "eventName",
775           "type" : "String",
776           "desc" : "The type of event to listen for",
777           "isOptional" : false
778         },
779         {
780           "name" : "handler",
781           "type" : "Function",
782           "desc" : "The method the event invokes",
783           "isOptional" : false
784         },
785         {
786           "name" : "scope",
787           "type" : "Object",
788           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
789           "isOptional" : false
790         },
791         {
792           "name" : "options",
793           "type" : "Object",
794           "desc" : "(optional)",
795           "isOptional" : false
796         }
797       ],
798       "returns" : []
799     },
800     {
801       "name" : "un",
802       "desc" : "Removes a listener (shorthand for removeListener)",
803       "isStatic" : false,
804       "isConstructor" : false,
805       "isPrivate" : false,
806       "memberOf" : "Roo.util.Observable",
807       "example" : "",
808       "deprecated" : "",
809       "since" : "",
810       "see" : "",
811       "params" : [
812         {
813           "name" : "eventName",
814           "type" : "String",
815           "desc" : "The type of event to listen for",
816           "isOptional" : false
817         },
818         {
819           "name" : "handler",
820           "type" : "Function",
821           "desc" : "The handler to remove",
822           "isOptional" : false
823         },
824         {
825           "name" : "scope",
826           "type" : "Object",
827           "desc" : "(optional) The scope (this object) for the handler",
828           "isOptional" : false
829         }
830       ],
831       "returns" : []
832     },
833     {
834       "name" : "addEvents",
835       "desc" : "Used to define events on this Observable",
836       "isStatic" : false,
837       "isConstructor" : false,
838       "isPrivate" : false,
839       "memberOf" : "Roo.util.Observable",
840       "example" : "",
841       "deprecated" : "",
842       "since" : "",
843       "see" : "",
844       "params" : [
845         {
846           "name" : "object",
847           "type" : "Object",
848           "desc" : "The object with the events defined",
849           "isOptional" : false
850         }
851       ],
852       "returns" : []
853     },
854     {
855       "name" : "releaseCapture",
856       "desc" : "Removes <b>all</b> added captures from the Observable.",
857       "isStatic" : true,
858       "isConstructor" : false,
859       "isPrivate" : false,
860       "memberOf" : "Roo.util.Observable",
861       "example" : "",
862       "deprecated" : "",
863       "since" : "",
864       "see" : "",
865       "params" : [
866         {
867           "name" : "o",
868           "type" : "Observable",
869           "desc" : "The Observable to release",
870           "isOptional" : false
871         }
872       ],
873       "returns" : []
874     },
875     {
876       "name" : "removeListener",
877       "desc" : "Removes a listener",
878       "isStatic" : false,
879       "isConstructor" : false,
880       "isPrivate" : false,
881       "memberOf" : "Roo.util.Observable",
882       "example" : "",
883       "deprecated" : "",
884       "since" : "",
885       "see" : "",
886       "params" : [
887         {
888           "name" : "eventName",
889           "type" : "String",
890           "desc" : "The type of event to listen for",
891           "isOptional" : false
892         },
893         {
894           "name" : "handler",
895           "type" : "Function",
896           "desc" : "The handler to remove",
897           "isOptional" : false
898         },
899         {
900           "name" : "scope",
901           "type" : "Object",
902           "desc" : "(optional) The scope (this object) for the handler",
903           "isOptional" : false
904         }
905       ],
906       "returns" : []
907     },
908     {
909       "name" : "fireEvent",
910       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
911       "isStatic" : false,
912       "isConstructor" : false,
913       "isPrivate" : false,
914       "memberOf" : "Roo.util.Observable",
915       "example" : "",
916       "deprecated" : "",
917       "since" : "",
918       "see" : "",
919       "params" : [
920         {
921           "name" : "eventName",
922           "type" : "String",
923           "desc" : "",
924           "isOptional" : false
925         },
926         {
927           "name" : "args",
928           "type" : "Object...",
929           "desc" : "Variable number of parameters are passed to handlers",
930           "isOptional" : false
931         }
932       ],
933       "returns" : [
934         {
935           "name" : "",
936           "type" : "Boolean",
937           "desc" : "returns false if any of the handlers return false otherwise it returns true"
938         }
939       ]
940     },
941     {
942       "name" : "hasListener",
943       "desc" : "Checks to see if this object has any listeners for a specified event",
944       "isStatic" : false,
945       "isConstructor" : false,
946       "isPrivate" : false,
947       "memberOf" : "Roo.util.Observable",
948       "example" : "",
949       "deprecated" : "",
950       "since" : "",
951       "see" : "",
952       "params" : [
953         {
954           "name" : "eventName",
955           "type" : "String",
956           "desc" : "The name of the event to check for",
957           "isOptional" : false
958         }
959       ],
960       "returns" : [
961         {
962           "name" : "",
963           "type" : "Boolean",
964           "desc" : "True if the event is being listened for, else false"
965         }
966       ]
967     },
968     {
969       "name" : "capture",
970       "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.",
971       "isStatic" : true,
972       "isConstructor" : false,
973       "isPrivate" : false,
974       "memberOf" : "Roo.util.Observable",
975       "example" : "",
976       "deprecated" : "",
977       "since" : "",
978       "see" : "",
979       "params" : [
980         {
981           "name" : "o",
982           "type" : "Observable",
983           "desc" : "The Observable to capture",
984           "isOptional" : false
985         },
986         {
987           "name" : "fn",
988           "type" : "Function",
989           "desc" : "The function to call",
990           "isOptional" : false
991         },
992         {
993           "name" : "scope",
994           "type" : "Object",
995           "desc" : "(optional) The scope (this object) for the fn",
996           "isOptional" : false
997         }
998       ],
999       "returns" : []
1000     },
1001     {
1002       "name" : "addListener",
1003       "desc" : "Appends an event handler to this component",
1004       "isStatic" : false,
1005       "isConstructor" : false,
1006       "isPrivate" : false,
1007       "memberOf" : "Roo.util.Observable",
1008       "example" : "",
1009       "deprecated" : "",
1010       "since" : "",
1011       "see" : "",
1012       "params" : [
1013         {
1014           "name" : "eventName",
1015           "type" : "String",
1016           "desc" : "The type of event to listen for",
1017           "isOptional" : false
1018         },
1019         {
1020           "name" : "handler",
1021           "type" : "Function",
1022           "desc" : "The method the event invokes",
1023           "isOptional" : false
1024         },
1025         {
1026           "name" : "scope",
1027           "type" : "Object",
1028           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1029           "isOptional" : false
1030         },
1031         {
1032           "name" : "options",
1033           "type" : "Object",
1034           "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>",
1035           "isOptional" : false
1036         }
1037       ],
1038       "returns" : []
1039     }
1040   ],
1041   "events" : [
1042     {
1043       "name" : "download",
1044       "desc" : "When a the download link is clicked",
1045       "memberOf" : "Roo.bootstrap.CardUploader",
1046       "example" : "",
1047       "deprecated" : "",
1048       "since" : "",
1049       "see" : "",
1050       "params" : [
1051         {
1052           "name" : "this",
1053           "type" : "Roo.bootstrap.Card",
1054           "desc" : "",
1055           "isOptional" : false
1056         },
1057         {
1058           "name" : "The",
1059           "type" : "Object",
1060           "desc" : "image information data  contains",
1061           "isOptional" : false
1062         }
1063       ],
1064       "returns" : []
1065     },
1066     {
1067       "name" : "preview",
1068       "desc" : "When a image is clicked on - and needs to display a slideshow or similar..",
1069       "memberOf" : "Roo.bootstrap.CardUploader",
1070       "example" : "",
1071       "deprecated" : "",
1072       "since" : "",
1073       "see" : "",
1074       "params" : [
1075         {
1076           "name" : "this",
1077           "type" : "Roo.bootstrap.Card",
1078           "desc" : "",
1079           "isOptional" : false
1080         },
1081         {
1082           "name" : "The",
1083           "type" : "Object",
1084           "desc" : "image information data",
1085           "isOptional" : false
1086         }
1087       ],
1088       "returns" : []
1089     },
1090     {
1091       "name" : "toggle",
1092       "desc" : "After the button has been toggles",
1093       "memberOf" : "Roo.bootstrap.Button",
1094       "example" : "",
1095       "deprecated" : "",
1096       "since" : "",
1097       "see" : "",
1098       "params" : [
1099         {
1100           "name" : "btn",
1101           "type" : "Roo.bootstrap.Button",
1102           "desc" : "",
1103           "isOptional" : false
1104         },
1105         {
1106           "name" : "e",
1107           "type" : "Roo.EventObject",
1108           "desc" : "",
1109           "isOptional" : false
1110         },
1111         {
1112           "name" : "pressed",
1113           "type" : "boolean",
1114           "desc" : "(also available as button.pressed)",
1115           "isOptional" : false
1116         }
1117       ],
1118       "returns" : []
1119     },
1120     {
1121       "name" : "dblclick",
1122       "desc" : "When a button is double clicked",
1123       "memberOf" : "Roo.bootstrap.Button",
1124       "example" : "",
1125       "deprecated" : "",
1126       "since" : "",
1127       "see" : "",
1128       "params" : [
1129         {
1130           "name" : "btn",
1131           "type" : "Roo.bootstrap.Button",
1132           "desc" : "",
1133           "isOptional" : false
1134         },
1135         {
1136           "name" : "e",
1137           "type" : "Roo.EventObject",
1138           "desc" : "",
1139           "isOptional" : false
1140         }
1141       ],
1142       "returns" : []
1143     },
1144     {
1145       "name" : "click",
1146       "desc" : "When a button is pressed",
1147       "memberOf" : "Roo.bootstrap.Button",
1148       "example" : "",
1149       "deprecated" : "",
1150       "since" : "",
1151       "see" : "",
1152       "params" : [
1153         {
1154           "name" : "btn",
1155           "type" : "Roo.bootstrap.Button",
1156           "desc" : "",
1157           "isOptional" : false
1158         },
1159         {
1160           "name" : "e",
1161           "type" : "Roo.EventObject",
1162           "desc" : "",
1163           "isOptional" : false
1164         }
1165       ],
1166       "returns" : []
1167     },
1168     {
1169       "name" : "childrenrendered",
1170       "desc" : "Fires when the children have been rendered..",
1171       "memberOf" : "Roo.bootstrap.Component",
1172       "example" : "",
1173       "deprecated" : "",
1174       "since" : "",
1175       "see" : "",
1176       "params" : [
1177         {
1178           "name" : "this",
1179           "type" : "Roo.bootstrap.Component",
1180           "desc" : "",
1181           "isOptional" : false
1182         }
1183       ],
1184       "returns" : []
1185     },
1186     {
1187       "name" : "beforerender",
1188       "desc" : "Fires before the component is rendered. Return false to stop the render.",
1189       "memberOf" : "Roo.Component",
1190       "example" : "",
1191       "deprecated" : "",
1192       "since" : "",
1193       "see" : "",
1194       "params" : [
1195         {
1196           "name" : "this",
1197           "type" : "Roo.Component",
1198           "desc" : "",
1199           "isOptional" : false
1200         }
1201       ],
1202       "returns" : []
1203     },
1204     {
1205       "name" : "disable",
1206       "desc" : "Fires after the component is disabled.",
1207       "memberOf" : "Roo.Component",
1208       "example" : "",
1209       "deprecated" : "",
1210       "since" : "",
1211       "see" : "",
1212       "params" : [
1213         {
1214           "name" : "this",
1215           "type" : "Roo.Component",
1216           "desc" : "",
1217           "isOptional" : false
1218         }
1219       ],
1220       "returns" : []
1221     },
1222     {
1223       "name" : "render",
1224       "desc" : "Fires after the component is rendered.",
1225       "memberOf" : "Roo.Component",
1226       "example" : "",
1227       "deprecated" : "",
1228       "since" : "",
1229       "see" : "",
1230       "params" : [
1231         {
1232           "name" : "this",
1233           "type" : "Roo.Component",
1234           "desc" : "",
1235           "isOptional" : false
1236         }
1237       ],
1238       "returns" : []
1239     },
1240     {
1241       "name" : "destroy",
1242       "desc" : "Fires after the component is destroyed.",
1243       "memberOf" : "Roo.Component",
1244       "example" : "",
1245       "deprecated" : "",
1246       "since" : "",
1247       "see" : "",
1248       "params" : [
1249         {
1250           "name" : "this",
1251           "type" : "Roo.Component",
1252           "desc" : "",
1253           "isOptional" : false
1254         }
1255       ],
1256       "returns" : []
1257     },
1258     {
1259       "name" : "hide",
1260       "desc" : "Fires after the component is hidden.",
1261       "memberOf" : "Roo.Component",
1262       "example" : "",
1263       "deprecated" : "",
1264       "since" : "",
1265       "see" : "",
1266       "params" : [
1267         {
1268           "name" : "this",
1269           "type" : "Roo.Component",
1270           "desc" : "",
1271           "isOptional" : false
1272         }
1273       ],
1274       "returns" : []
1275     },
1276     {
1277       "name" : "beforehide",
1278       "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1279       "memberOf" : "Roo.Component",
1280       "example" : "",
1281       "deprecated" : "",
1282       "since" : "",
1283       "see" : "",
1284       "params" : [
1285         {
1286           "name" : "this",
1287           "type" : "Roo.Component",
1288           "desc" : "",
1289           "isOptional" : false
1290         }
1291       ],
1292       "returns" : []
1293     },
1294     {
1295       "name" : "show",
1296       "desc" : "Fires after the component is shown.",
1297       "memberOf" : "Roo.Component",
1298       "example" : "",
1299       "deprecated" : "",
1300       "since" : "",
1301       "see" : "",
1302       "params" : [
1303         {
1304           "name" : "this",
1305           "type" : "Roo.Component",
1306           "desc" : "",
1307           "isOptional" : false
1308         }
1309       ],
1310       "returns" : []
1311     },
1312     {
1313       "name" : "beforeshow",
1314       "desc" : "Fires before the component is shown.  Return false to stop the show.",
1315       "memberOf" : "Roo.Component",
1316       "example" : "",
1317       "deprecated" : "",
1318       "since" : "",
1319       "see" : "",
1320       "params" : [
1321         {
1322           "name" : "this",
1323           "type" : "Roo.Component",
1324           "desc" : "",
1325           "isOptional" : false
1326         }
1327       ],
1328       "returns" : []
1329     },
1330     {
1331       "name" : "enable",
1332       "desc" : "Fires after the component is enabled.",
1333       "memberOf" : "Roo.Component",
1334       "example" : "",
1335       "deprecated" : "",
1336       "since" : "",
1337       "see" : "",
1338       "params" : [
1339         {
1340           "name" : "this",
1341           "type" : "Roo.Component",
1342           "desc" : "",
1343           "isOptional" : false
1344         }
1345       ],
1346       "returns" : []
1347     },
1348     {
1349       "name" : "beforedestroy",
1350       "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1351       "memberOf" : "Roo.Component",
1352       "example" : "",
1353       "deprecated" : "",
1354       "since" : "",
1355       "see" : "",
1356       "params" : [
1357         {
1358           "name" : "this",
1359           "type" : "Roo.Component",
1360           "desc" : "",
1361           "isOptional" : false
1362         }
1363       ],
1364       "returns" : []
1365     }
1366   ]
1367 }