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