sync
[roojs1] / docs / symbols / Roo.bootstrap.panel.Nest.json
1 {
2   "name" : "Roo.bootstrap.panel.Nest",
3   "augments" : [
4     "Roo.bootstrap.panel.Content",
5     "Roo.util.Observable"
6   ],
7   "desc" : "Create a new Panel, that can contain a layout.Border.",
8   "isSingleton" : false,
9   "isStatic" : false,
10   "isBuiltin" : false,
11   "memberOf" : "Nest",
12   "example" : "",
13   "deprecated" : "",
14   "since" : "",
15   "see" : "",
16   "params" : [
17     {
18       "name" : "layout",
19       "type" : "Roo.BorderLayout",
20       "desc" : "The layout for this panel",
21       "isOptional" : false
22     },
23     {
24       "name" : "config",
25       "type" : "String/Object",
26       "desc" : "A string to set only the title or a config object",
27       "isOptional" : false
28     }
29   ],
30   "returns" : [],
31   "config" : [
32     {
33       "name" : "loadOnce",
34       "type" : "Boolean",
35       "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
36       "memberOf" : "Roo.bootstrap.panel.Content",
37       "optvals" : []
38     },
39     {
40       "name" : "listeners",
41       "type" : "Object",
42       "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>",
43       "memberOf" : "Roo.util.Observable",
44       "optvals" : []
45     },
46     {
47       "name" : "badges",
48       "type" : "Boolean",
49       "desc" : "render the badges",
50       "memberOf" : "Roo.bootstrap.panel.Content",
51       "optvals" : []
52     },
53     {
54       "name" : "autoScroll",
55       "type" : "Boolean",
56       "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
57       "memberOf" : "Roo.bootstrap.panel.Content",
58       "optvals" : []
59     },
60     {
61       "name" : "fitToFrame",
62       "type" : "Boolean",
63       "desc" : "True for this panel to adjust its size to fit when the region resizes  (defaults to false)",
64       "memberOf" : "Roo.bootstrap.panel.Content",
65       "optvals" : []
66     },
67     {
68       "name" : "background",
69       "type" : "Boolean",
70       "desc" : "True if the panel should not be activated when it is added (defaults to false)",
71       "memberOf" : "Roo.bootstrap.panel.Content",
72       "optvals" : []
73     },
74     {
75       "name" : "toolbar",
76       "type" : "Toolbar",
77       "desc" : "A toolbar for this panel",
78       "memberOf" : "Roo.bootstrap.panel.Content",
79       "optvals" : []
80     },
81     {
82       "name" : "region",
83       "type" : "String",
84       "desc" : "t) which region to put this panel on (when used with xtype constructors)",
85       "memberOf" : "Roo.bootstrap.panel.Content",
86       "optvals" : [
87         "center",
88         "north",
89         "south",
90         "east",
91         "west"
92       ]
93     },
94     {
95       "name" : "content",
96       "type" : "String",
97       "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
98       "memberOf" : "Roo.bootstrap.panel.Content",
99       "optvals" : []
100     },
101     {
102       "name" : "title",
103       "type" : "String",
104       "desc" : "The title for this panel",
105       "memberOf" : "Roo.bootstrap.panel.Content",
106       "optvals" : []
107     },
108     {
109       "name" : "cls",
110       "type" : "String",
111       "desc" : "extra classes to use",
112       "memberOf" : "Roo.bootstrap.panel.Content",
113       "optvals" : []
114     },
115     {
116       "name" : "autoCreate",
117       "type" : "Boolean/Object",
118       "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
119       "memberOf" : "Roo.bootstrap.panel.Content",
120       "optvals" : []
121     },
122     {
123       "name" : "fitContainer",
124       "type" : "Boolean",
125       "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container  (defaults to false)",
126       "memberOf" : "Roo.bootstrap.panel.Content",
127       "optvals" : []
128     },
129     {
130       "name" : "closable",
131       "type" : "Boolean",
132       "desc" : "True if the panel can be closed/removed",
133       "memberOf" : "Roo.bootstrap.panel.Content",
134       "optvals" : []
135     },
136     {
137       "name" : "params",
138       "type" : "String/Object",
139       "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
140       "memberOf" : "Roo.bootstrap.panel.Content",
141       "optvals" : []
142     },
143     {
144       "name" : "adjustments",
145       "type" : "Array",
146       "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
147       "memberOf" : "Roo.bootstrap.panel.Content",
148       "optvals" : []
149     },
150     {
151       "name" : "url",
152       "type" : "String",
153       "desc" : "Calls {@link #setUrl} with this value",
154       "memberOf" : "Roo.bootstrap.panel.Content",
155       "optvals" : []
156     },
157     {
158       "name" : "resizeEl",
159       "type" : "String/HTMLElement/Element",
160       "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
161       "memberOf" : "Roo.bootstrap.panel.Content",
162       "optvals" : []
163     }
164   ],
165   "methods" : [
166     {
167       "name" : "getLayout",
168       "desc" : "Returns the nested BorderLayout for this panel",
169       "isStatic" : false,
170       "isConstructor" : false,
171       "isPrivate" : false,
172       "memberOf" : "Roo.bootstrap.panel.Nest",
173       "example" : "",
174       "deprecated" : "",
175       "since" : "",
176       "see" : "",
177       "params" : [],
178       "returns" : [
179         {
180           "name" : "",
181           "type" : "Roo.BorderLayout",
182           "desc" : ""
183         }
184       ]
185     },
186     {
187       "name" : "addxtype",
188       "desc" : "Adds a xtype elements to the layout of the nested panel\n<pre><code>\n\npanel.addxtype({\n       xtype : 'ContentPanel',\n       region: 'west',\n       items: [ .... ]\n   }\n);\n\npanel.addxtype({\n        xtype : 'NestedLayoutPanel',\n        region: 'west',\n        layout: {\n           center: { },\n           west: { }   \n        },\n        items : [ ... list of content panels or nested layout panels.. ]\n   }\n);\n</code></pre>",
189       "isStatic" : false,
190       "isConstructor" : false,
191       "isPrivate" : false,
192       "memberOf" : "Roo.bootstrap.panel.Nest",
193       "example" : "",
194       "deprecated" : "",
195       "since" : "",
196       "see" : "",
197       "params" : [
198         {
199           "name" : "cfg",
200           "type" : "Object",
201           "desc" : "Xtype definition of item to add.",
202           "isOptional" : false
203         }
204       ],
205       "returns" : []
206     },
207     {
208       "name" : "refresh",
209       "desc" : "Force a content refresh from the URL specified in the {@link #setUrl} method.\n  Will fail silently if the {@link #setUrl} method has not been called.\n  This does not activate the panel, just updates its content.",
210       "isStatic" : false,
211       "isConstructor" : false,
212       "isPrivate" : false,
213       "memberOf" : "Roo.bootstrap.panel.Content",
214       "example" : "",
215       "deprecated" : "",
216       "since" : "",
217       "see" : "",
218       "params" : [],
219       "returns" : []
220     },
221     {
222       "name" : "getUpdateManager",
223       "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
224       "isStatic" : false,
225       "isConstructor" : false,
226       "isPrivate" : false,
227       "memberOf" : "Roo.bootstrap.panel.Content",
228       "example" : "",
229       "deprecated" : "",
230       "since" : "",
231       "see" : "",
232       "params" : [],
233       "returns" : [
234         {
235           "name" : "",
236           "type" : "Roo.UpdateManager",
237           "desc" : "The UpdateManager"
238         }
239       ]
240     },
241     {
242       "name" : "getChildContainer",
243       "desc" : "Adds a xtype elements to the panel - currently only supports Forms, View, JsonView.\n<pre><code>\n\nlayout.addxtype({\n       xtype : 'Form',\n       items: [ .... ]\n   }\n);\n\n</code></pre>",
244       "isStatic" : false,
245       "isConstructor" : false,
246       "isPrivate" : false,
247       "memberOf" : "Roo.bootstrap.panel.Content",
248       "example" : "",
249       "deprecated" : "",
250       "since" : "",
251       "see" : "",
252       "params" : [
253         {
254           "name" : "cfg",
255           "type" : "Object",
256           "desc" : "Xtype definition of item to add.",
257           "isOptional" : false
258         }
259       ],
260       "returns" : []
261     },
262     {
263       "name" : "getToolbar",
264       "desc" : "Returns the toolbar for this Panel if one was configured.",
265       "isStatic" : false,
266       "isConstructor" : false,
267       "isPrivate" : false,
268       "memberOf" : "Roo.bootstrap.panel.Content",
269       "example" : "",
270       "deprecated" : "",
271       "since" : "",
272       "see" : "",
273       "params" : [],
274       "returns" : [
275         {
276           "name" : "",
277           "type" : "Roo.Toolbar",
278           "desc" : ""
279         }
280       ]
281     },
282     {
283       "name" : "setTitle",
284       "desc" : "Set this panel's title",
285       "isStatic" : false,
286       "isConstructor" : false,
287       "isPrivate" : false,
288       "memberOf" : "Roo.bootstrap.panel.Content",
289       "example" : "",
290       "deprecated" : "",
291       "since" : "",
292       "see" : "",
293       "params" : [
294         {
295           "name" : "title",
296           "type" : "String",
297           "desc" : "",
298           "isOptional" : false
299         }
300       ],
301       "returns" : []
302     },
303     {
304       "name" : "setUrl",
305       "desc" : "Set a URL to be used to load the content for this panel. When this panel is activated, the content will be loaded from that URL.",
306       "isStatic" : false,
307       "isConstructor" : false,
308       "isPrivate" : false,
309       "memberOf" : "Roo.bootstrap.panel.Content",
310       "example" : "",
311       "deprecated" : "",
312       "since" : "",
313       "see" : "",
314       "params" : [
315         {
316           "name" : "url",
317           "type" : "String/Function",
318           "desc" : "The URL to load the content from or a function to call to get the URL",
319           "isOptional" : false
320         },
321         {
322           "name" : "params",
323           "type" : "String/Object",
324           "desc" : "(optional) The string params for the update call or an object of the params. See {@link Roo.UpdateManager#update} for more details. (Defaults to null)",
325           "isOptional" : false
326         },
327         {
328           "name" : "loadOnce",
329           "type" : "Boolean",
330           "desc" : "(optional) Whether to only load the content once. If this is false it makes the Ajax call every time this panel is activated. (Defaults to false)",
331           "isOptional" : false
332         }
333       ],
334       "returns" : [
335         {
336           "name" : "",
337           "type" : "Roo.UpdateManager",
338           "desc" : "The UpdateManager"
339         }
340       ]
341     },
342     {
343       "name" : "getEl",
344       "desc" : "Returns this panel's element - used by regiosn to add.",
345       "isStatic" : false,
346       "isConstructor" : false,
347       "isPrivate" : false,
348       "memberOf" : "Roo.bootstrap.panel.Content",
349       "example" : "",
350       "deprecated" : "",
351       "since" : "",
352       "see" : "",
353       "params" : [],
354       "returns" : [
355         {
356           "name" : "",
357           "type" : "Roo.Element",
358           "desc" : ""
359         }
360       ]
361     },
362     {
363       "name" : "destroy",
364       "desc" : "Destroys this panel",
365       "isStatic" : false,
366       "isConstructor" : false,
367       "isPrivate" : false,
368       "memberOf" : "Roo.bootstrap.panel.Content",
369       "example" : "",
370       "deprecated" : "",
371       "since" : "",
372       "see" : "",
373       "params" : [],
374       "returns" : []
375     },
376     {
377       "name" : "load",
378       "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
379       "isStatic" : false,
380       "isConstructor" : false,
381       "isPrivate" : false,
382       "memberOf" : "Roo.bootstrap.panel.Content",
383       "example" : "",
384       "deprecated" : "",
385       "since" : "",
386       "see" : "",
387       "params" : [
388         {
389           "name" : "url",
390           "type" : "Object/String/Function",
391           "desc" : "The url for this request or a function to call to get the url or a config object containing any of the following options:\n<pre><code>\npanel.load({\n    url: \"your-url.php\",\n    params: {param1: \"foo\", param2: \"bar\"}, // or a URL encoded string\n    callback: yourFunction,\n    scope: yourObject, //(optional scope)\n    discardUrl: false,\n    nocache: false,\n    text: \"Loading...\",\n    timeout: 30,\n    scripts: false\n});\n</code></pre>\nThe only required property is <i>url</i>. The optional properties <i>nocache</i>, <i>text</i> and <i>scripts</i>\nare shorthand for <i>disableCaching</i>, <i>indicatorText</i> and <i>loadScripts</i> and are used to set their associated property on this panel UpdateManager instance.",
392           "isOptional" : false
393         },
394         {
395           "name" : "params",
396           "type" : "String/Object",
397           "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&amp;param2=2\" or an object {param1: 1, param2: 2}",
398           "isOptional" : false
399         },
400         {
401           "name" : "callback",
402           "type" : "Function",
403           "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
404           "isOptional" : false
405         },
406         {
407           "name" : "discardUrl",
408           "type" : "Boolean",
409           "desc" : "(optional) By default when you execute an update the defaultUrl is changed to the last used URL. If true, it will not store the URL.",
410           "isOptional" : false
411         }
412       ],
413       "returns" : [
414         {
415           "name" : "",
416           "type" : "Roo.ContentPanel",
417           "desc" : "this"
418         }
419       ]
420     },
421     {
422       "name" : "getTitle",
423       "desc" : "Returns this panel's title",
424       "isStatic" : false,
425       "isConstructor" : false,
426       "isPrivate" : false,
427       "memberOf" : "Roo.bootstrap.panel.Content",
428       "example" : "",
429       "deprecated" : "",
430       "since" : "",
431       "see" : "",
432       "params" : [],
433       "returns" : [
434         {
435           "name" : "",
436           "type" : "String",
437           "desc" : ""
438         }
439       ]
440     },
441     {
442       "name" : "isClosable",
443       "desc" : "Returns true is this panel was configured to be closable",
444       "isStatic" : false,
445       "isConstructor" : false,
446       "isPrivate" : false,
447       "memberOf" : "Roo.bootstrap.panel.Content",
448       "example" : "",
449       "deprecated" : "",
450       "since" : "",
451       "see" : "",
452       "params" : [],
453       "returns" : [
454         {
455           "name" : "",
456           "type" : "Boolean",
457           "desc" : ""
458         }
459       ]
460     },
461     {
462       "name" : "getId",
463       "desc" : "Returns this panel's id",
464       "isStatic" : false,
465       "isConstructor" : false,
466       "isPrivate" : false,
467       "memberOf" : "Roo.bootstrap.panel.Content",
468       "example" : "",
469       "deprecated" : "",
470       "since" : "",
471       "see" : "",
472       "params" : [],
473       "returns" : [
474         {
475           "name" : "",
476           "type" : "String",
477           "desc" : ""
478         }
479       ]
480     },
481     {
482       "name" : "setContent",
483       "desc" : "Updates this panel's element",
484       "isStatic" : false,
485       "isConstructor" : false,
486       "isPrivate" : false,
487       "memberOf" : "Roo.bootstrap.panel.Content",
488       "example" : "",
489       "deprecated" : "",
490       "since" : "",
491       "see" : "",
492       "params" : [
493         {
494           "name" : "content",
495           "type" : "String",
496           "desc" : "The new content",
497           "isOptional" : false
498         },
499         {
500           "name" : "loadScripts",
501           "type" : "Boolean",
502           "desc" : "(optional) true to look for and process scripts",
503           "isOptional" : false
504         }
505       ],
506       "returns" : []
507     },
508     {
509       "name" : "purgeListeners",
510       "desc" : "Removes all listeners for this object",
511       "isStatic" : false,
512       "isConstructor" : false,
513       "isPrivate" : false,
514       "memberOf" : "Roo.util.Observable",
515       "example" : "",
516       "deprecated" : "",
517       "since" : "",
518       "see" : "",
519       "params" : [],
520       "returns" : []
521     },
522     {
523       "name" : "on",
524       "desc" : "Appends an event handler to this element (shorthand for addListener)",
525       "isStatic" : false,
526       "isConstructor" : false,
527       "isPrivate" : false,
528       "memberOf" : "Roo.util.Observable",
529       "example" : "",
530       "deprecated" : "",
531       "since" : "",
532       "see" : "",
533       "params" : [
534         {
535           "name" : "eventName",
536           "type" : "String",
537           "desc" : "The type of event to listen for",
538           "isOptional" : false
539         },
540         {
541           "name" : "handler",
542           "type" : "Function",
543           "desc" : "The method the event invokes",
544           "isOptional" : false
545         },
546         {
547           "name" : "scope",
548           "type" : "Object",
549           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
550           "isOptional" : false
551         },
552         {
553           "name" : "options",
554           "type" : "Object",
555           "desc" : "(optional)",
556           "isOptional" : false
557         }
558       ],
559       "returns" : []
560     },
561     {
562       "name" : "un",
563       "desc" : "Removes a listener (shorthand for removeListener)",
564       "isStatic" : false,
565       "isConstructor" : false,
566       "isPrivate" : false,
567       "memberOf" : "Roo.util.Observable",
568       "example" : "",
569       "deprecated" : "",
570       "since" : "",
571       "see" : "",
572       "params" : [
573         {
574           "name" : "eventName",
575           "type" : "String",
576           "desc" : "The type of event to listen for",
577           "isOptional" : false
578         },
579         {
580           "name" : "handler",
581           "type" : "Function",
582           "desc" : "The handler to remove",
583           "isOptional" : false
584         },
585         {
586           "name" : "scope",
587           "type" : "Object",
588           "desc" : "(optional) The scope (this object) for the handler",
589           "isOptional" : false
590         }
591       ],
592       "returns" : []
593     },
594     {
595       "name" : "addEvents",
596       "desc" : "Used to define events on this Observable",
597       "isStatic" : false,
598       "isConstructor" : false,
599       "isPrivate" : false,
600       "memberOf" : "Roo.util.Observable",
601       "example" : "",
602       "deprecated" : "",
603       "since" : "",
604       "see" : "",
605       "params" : [
606         {
607           "name" : "object",
608           "type" : "Object",
609           "desc" : "The object with the events defined",
610           "isOptional" : false
611         }
612       ],
613       "returns" : []
614     },
615     {
616       "name" : "releaseCapture",
617       "desc" : "Removes <b>all</b> added captures from the Observable.",
618       "isStatic" : true,
619       "isConstructor" : false,
620       "isPrivate" : false,
621       "memberOf" : "Roo.util.Observable",
622       "example" : "",
623       "deprecated" : "",
624       "since" : "",
625       "see" : "",
626       "params" : [
627         {
628           "name" : "o",
629           "type" : "Observable",
630           "desc" : "The Observable to release",
631           "isOptional" : false
632         }
633       ],
634       "returns" : []
635     },
636     {
637       "name" : "removeListener",
638       "desc" : "Removes a listener",
639       "isStatic" : false,
640       "isConstructor" : false,
641       "isPrivate" : false,
642       "memberOf" : "Roo.util.Observable",
643       "example" : "",
644       "deprecated" : "",
645       "since" : "",
646       "see" : "",
647       "params" : [
648         {
649           "name" : "eventName",
650           "type" : "String",
651           "desc" : "The type of event to listen for",
652           "isOptional" : false
653         },
654         {
655           "name" : "handler",
656           "type" : "Function",
657           "desc" : "The handler to remove",
658           "isOptional" : false
659         },
660         {
661           "name" : "scope",
662           "type" : "Object",
663           "desc" : "(optional) The scope (this object) for the handler",
664           "isOptional" : false
665         }
666       ],
667       "returns" : []
668     },
669     {
670       "name" : "fireEvent",
671       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
672       "isStatic" : false,
673       "isConstructor" : false,
674       "isPrivate" : false,
675       "memberOf" : "Roo.util.Observable",
676       "example" : "",
677       "deprecated" : "",
678       "since" : "",
679       "see" : "",
680       "params" : [
681         {
682           "name" : "eventName",
683           "type" : "String",
684           "desc" : "",
685           "isOptional" : false
686         },
687         {
688           "name" : "args",
689           "type" : "Object...",
690           "desc" : "Variable number of parameters are passed to handlers",
691           "isOptional" : false
692         }
693       ],
694       "returns" : [
695         {
696           "name" : "",
697           "type" : "Boolean",
698           "desc" : "returns false if any of the handlers return false otherwise it returns true"
699         }
700       ]
701     },
702     {
703       "name" : "hasListener",
704       "desc" : "Checks to see if this object has any listeners for a specified event",
705       "isStatic" : false,
706       "isConstructor" : false,
707       "isPrivate" : false,
708       "memberOf" : "Roo.util.Observable",
709       "example" : "",
710       "deprecated" : "",
711       "since" : "",
712       "see" : "",
713       "params" : [
714         {
715           "name" : "eventName",
716           "type" : "String",
717           "desc" : "The name of the event to check for",
718           "isOptional" : false
719         }
720       ],
721       "returns" : [
722         {
723           "name" : "",
724           "type" : "Boolean",
725           "desc" : "True if the event is being listened for, else false"
726         }
727       ]
728     },
729     {
730       "name" : "capture",
731       "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.",
732       "isStatic" : true,
733       "isConstructor" : false,
734       "isPrivate" : false,
735       "memberOf" : "Roo.util.Observable",
736       "example" : "",
737       "deprecated" : "",
738       "since" : "",
739       "see" : "",
740       "params" : [
741         {
742           "name" : "o",
743           "type" : "Observable",
744           "desc" : "The Observable to capture",
745           "isOptional" : false
746         },
747         {
748           "name" : "fn",
749           "type" : "Function",
750           "desc" : "The function to call",
751           "isOptional" : false
752         },
753         {
754           "name" : "scope",
755           "type" : "Object",
756           "desc" : "(optional) The scope (this object) for the fn",
757           "isOptional" : false
758         }
759       ],
760       "returns" : []
761     },
762     {
763       "name" : "addListener",
764       "desc" : "Appends an event handler to this component",
765       "isStatic" : false,
766       "isConstructor" : false,
767       "isPrivate" : false,
768       "memberOf" : "Roo.util.Observable",
769       "example" : "",
770       "deprecated" : "",
771       "since" : "",
772       "see" : "",
773       "params" : [
774         {
775           "name" : "eventName",
776           "type" : "String",
777           "desc" : "The type of event to listen for",
778           "isOptional" : false
779         },
780         {
781           "name" : "handler",
782           "type" : "Function",
783           "desc" : "The method the event invokes",
784           "isOptional" : false
785         },
786         {
787           "name" : "scope",
788           "type" : "Object",
789           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
790           "isOptional" : false
791         },
792         {
793           "name" : "options",
794           "type" : "Object",
795           "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>",
796           "isOptional" : false
797         }
798       ],
799       "returns" : []
800     }
801   ],
802   "events" : [
803     {
804       "name" : "activate",
805       "desc" : "Fires when this panel is activated.",
806       "memberOf" : "Roo.bootstrap.panel.Content",
807       "example" : "",
808       "deprecated" : "",
809       "since" : "",
810       "see" : "",
811       "params" : [
812         {
813           "name" : "this",
814           "type" : "Roo.ContentPanel",
815           "desc" : "",
816           "isOptional" : false
817         }
818       ],
819       "returns" : []
820     },
821     {
822       "name" : "resize",
823       "desc" : "Fires when this panel is resized if fitToFrame is true.",
824       "memberOf" : "Roo.bootstrap.panel.Content",
825       "example" : "",
826       "deprecated" : "",
827       "since" : "",
828       "see" : "",
829       "params" : [
830         {
831           "name" : "this",
832           "type" : "Roo.ContentPanel",
833           "desc" : "",
834           "isOptional" : false
835         },
836         {
837           "name" : "width",
838           "type" : "Number",
839           "desc" : "The width after any component adjustments",
840           "isOptional" : false
841         },
842         {
843           "name" : "height",
844           "type" : "Number",
845           "desc" : "The height after any component adjustments",
846           "isOptional" : false
847         }
848       ],
849       "returns" : []
850     },
851     {
852       "name" : "deactivate",
853       "desc" : "Fires when this panel is activated.",
854       "memberOf" : "Roo.bootstrap.panel.Content",
855       "example" : "",
856       "deprecated" : "",
857       "since" : "",
858       "see" : "",
859       "params" : [
860         {
861           "name" : "this",
862           "type" : "Roo.ContentPanel",
863           "desc" : "",
864           "isOptional" : false
865         }
866       ],
867       "returns" : []
868     },
869     {
870       "name" : "render",
871       "desc" : "Fires when this tab is created",
872       "memberOf" : "Roo.bootstrap.panel.Content",
873       "example" : "",
874       "deprecated" : "",
875       "since" : "",
876       "see" : "",
877       "params" : [
878         {
879           "name" : "this",
880           "type" : "Roo.ContentPanel",
881           "desc" : "",
882           "isOptional" : false
883         }
884       ],
885       "returns" : []
886     }
887   ]
888 }