enable grammerly in editor
[roojs1] / docs / symbols / Roo.Layer.json
1 {
2   "name" : "Roo.Layer",
3   "augments" : [
4     "Roo.Element"
5   ],
6   "desc" : "An extended {@link Roo.Element} object that supports a shadow and shim, constrain to viewport and\nautomatic maintaining of shadow/shim positions.",
7   "isSingleton" : false,
8   "isStatic" : false,
9   "isBuiltin" : false,
10   "memberOf" : "Layer",
11   "example" : "",
12   "deprecated" : "",
13   "since" : "",
14   "see" : "",
15   "params" : [
16     {
17       "name" : "config",
18       "type" : "Object",
19       "desc" : "An object with config options.",
20       "isOptional" : false
21     },
22     {
23       "name" : "existingEl",
24       "type" : "String/HTMLElement",
25       "desc" : "(optional) Uses an existing DOM element. If the element is not found it creates it.",
26       "isOptional" : false
27     }
28   ],
29   "returns" : [],
30   "config" : [
31     {
32       "name" : "shadow",
33       "type" : "String/Boolean",
34       "desc" : "True to create a shadow element with default class \"x-layer-shadow\", or\nyou can pass a string with a CSS class name. False turns off the shadow.",
35       "memberOf" : "Roo.Layer",
36       "optvals" : []
37     },
38     {
39       "name" : "constrain",
40       "type" : "Boolean",
41       "desc" : "False to disable constrain to viewport (defaults to true)",
42       "memberOf" : "Roo.Layer",
43       "optvals" : []
44     },
45     {
46       "name" : "zindex",
47       "type" : "Number",
48       "desc" : "Starting z-index (defaults to 11000)",
49       "memberOf" : "Roo.Layer",
50       "optvals" : []
51     },
52     {
53       "name" : "shadowOffset",
54       "type" : "Number",
55       "desc" : "Number of pixels to offset the shadow (defaults to 3)",
56       "memberOf" : "Roo.Layer",
57       "optvals" : []
58     },
59     {
60       "name" : "dh",
61       "type" : "Object",
62       "desc" : "DomHelper object config to create element with (defaults to {tag: \"div\", cls: \"x-layer\"}).",
63       "memberOf" : "Roo.Layer",
64       "optvals" : []
65     },
66     {
67       "name" : "cls",
68       "type" : "String",
69       "desc" : "CSS class to add to the element",
70       "memberOf" : "Roo.Layer",
71       "optvals" : []
72     },
73     {
74       "name" : "shim",
75       "type" : "Boolean",
76       "desc" : "False to disable the iframe shim in browsers which need one (defaults to true)",
77       "memberOf" : "Roo.Layer",
78       "optvals" : []
79     }
80   ],
81   "methods" : [
82     {
83       "name" : "setZIndex",
84       "desc" : "Sets the z-index of this layer and adjusts any shadow and shim z-indexes. The layer z-index is automatically\nincremented by two more than the value passed in so that it always shows above any shadow or shim (the shadow\nelement, if any, will be assigned z-index + 1, and the shim element, if any, will be assigned the unmodified z-index).",
85       "isStatic" : false,
86       "isConstructor" : false,
87       "isPrivate" : false,
88       "memberOf" : "Roo.Layer",
89       "example" : "",
90       "deprecated" : "",
91       "since" : "",
92       "see" : "",
93       "params" : [
94         {
95           "name" : "zindex",
96           "type" : "Number",
97           "desc" : "The new z-index to set",
98           "isOptional" : false
99         }
100       ],
101       "returns" : [
102         {
103           "name" : "",
104           "type" : "this",
105           "desc" : "The Layer"
106         }
107       ]
108     },
109     {
110       "name" : "getCenterXY",
111       "desc" : "Calculates the x, y to center this element on the screen",
112       "isStatic" : false,
113       "isConstructor" : false,
114       "isPrivate" : false,
115       "memberOf" : "Roo.Element",
116       "example" : "",
117       "deprecated" : "",
118       "since" : "",
119       "see" : "",
120       "params" : [],
121       "returns" : [
122         {
123           "name" : "",
124           "type" : "Array",
125           "desc" : "The x, y values [x, y]"
126         }
127       ]
128     },
129     {
130       "name" : "getScroll",
131       "desc" : "Returns the current scroll position of the element.",
132       "isStatic" : false,
133       "isConstructor" : false,
134       "isPrivate" : false,
135       "memberOf" : "Roo.Element",
136       "example" : "",
137       "deprecated" : "",
138       "since" : "",
139       "see" : "",
140       "params" : [],
141       "returns" : [
142         {
143           "name" : "",
144           "type" : "Object",
145           "desc" : "An object containing the scroll position in the format {left: (scrollLeft), top: (scrollTop)}"
146         }
147       ]
148     },
149     {
150       "name" : "createShim",
151       "desc" : "Creates an iframe shim for this element to keep selects and other windowed objects from\nshowing through.",
152       "isStatic" : false,
153       "isConstructor" : false,
154       "isPrivate" : false,
155       "memberOf" : "Roo.Element",
156       "example" : "",
157       "deprecated" : "",
158       "since" : "",
159       "see" : "",
160       "params" : [],
161       "returns" : [
162         {
163           "name" : "",
164           "type" : "Roo.Element",
165           "desc" : "The new shim element"
166         }
167       ]
168     },
169     {
170       "name" : "scrollTo",
171       "desc" : "Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().",
172       "isStatic" : false,
173       "isConstructor" : false,
174       "isPrivate" : false,
175       "memberOf" : "Roo.Element",
176       "example" : "",
177       "deprecated" : "",
178       "since" : "",
179       "see" : "",
180       "params" : [
181         {
182           "name" : "side",
183           "type" : "String",
184           "desc" : "Either \"left\" for scrollLeft values or \"top\" for scrollTop values.",
185           "isOptional" : false
186         },
187         {
188           "name" : "value",
189           "type" : "Number",
190           "desc" : "The new scroll value",
191           "isOptional" : false
192         },
193         {
194           "name" : "animate",
195           "type" : "Boolean/Object",
196           "desc" : "(optional) true for the default animation or a standard Element animation config object",
197           "isOptional" : false
198         }
199       ],
200       "returns" : [
201         {
202           "name" : "",
203           "type" : "Element",
204           "desc" : "this"
205         }
206       ]
207     },
208     {
209       "name" : "removeAllListeners",
210       "desc" : "Removes all previous added listeners from this element",
211       "isStatic" : false,
212       "isConstructor" : false,
213       "isPrivate" : false,
214       "memberOf" : "Roo.Element",
215       "example" : "",
216       "deprecated" : "",
217       "since" : "",
218       "see" : "",
219       "params" : [],
220       "returns" : [
221         {
222           "name" : "",
223           "type" : "Roo.Element",
224           "desc" : "this"
225         }
226       ]
227     },
228     {
229       "name" : "setStyle",
230       "desc" : "Wrapper for setting style properties, also takes single object parameter of multiple styles.",
231       "isStatic" : false,
232       "isConstructor" : false,
233       "isPrivate" : false,
234       "memberOf" : "Roo.Element",
235       "example" : "",
236       "deprecated" : "",
237       "since" : "",
238       "see" : "",
239       "params" : [
240         {
241           "name" : "property",
242           "type" : "String/Object",
243           "desc" : "The style property to be set, or an object of multiple styles.",
244           "isOptional" : false
245         },
246         {
247           "name" : "value",
248           "type" : "String",
249           "desc" : "(optional) The value to apply to the given property, or null if an object was passed.",
250           "isOptional" : false
251         }
252       ],
253       "returns" : [
254         {
255           "name" : "",
256           "type" : "Roo.Element",
257           "desc" : "this"
258         }
259       ]
260     },
261     {
262       "name" : "on",
263       "desc" : "Appends an event handler (Shorthand for addListener)",
264       "isStatic" : false,
265       "isConstructor" : false,
266       "isPrivate" : false,
267       "memberOf" : "Roo.Element",
268       "example" : "",
269       "deprecated" : "",
270       "since" : "",
271       "see" : "",
272       "params" : [
273         {
274           "name" : "eventName",
275           "type" : "String",
276           "desc" : "The type of event to append",
277           "isOptional" : false
278         },
279         {
280           "name" : "fn",
281           "type" : "Function",
282           "desc" : "The method the event invokes",
283           "isOptional" : false
284         },
285         {
286           "name" : "scope",
287           "type" : "Object",
288           "desc" : "(optional) The scope (this object) of the fn",
289           "isOptional" : false
290         },
291         {
292           "name" : "options",
293           "type" : "Object",
294           "desc" : "(optional)An object with standard {@link Roo.EventManager#addListener} options",
295           "isOptional" : false
296         }
297       ],
298       "returns" : []
299     },
300     {
301       "name" : "addClassOnClick",
302       "desc" : "Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect)",
303       "isStatic" : false,
304       "isConstructor" : false,
305       "isPrivate" : false,
306       "memberOf" : "Roo.Element",
307       "example" : "",
308       "deprecated" : "",
309       "since" : "",
310       "see" : "",
311       "params" : [
312         {
313           "name" : "className",
314           "type" : "String",
315           "desc" : "",
316           "isOptional" : false
317         }
318       ],
319       "returns" : [
320         {
321           "name" : "",
322           "type" : "Roo.Element",
323           "desc" : "this"
324         }
325       ]
326     },
327     {
328       "name" : "getBorderWidth",
329       "desc" : "Gets the width of the border(s) for the specified side(s)",
330       "isStatic" : false,
331       "isConstructor" : false,
332       "isPrivate" : false,
333       "memberOf" : "Roo.Element",
334       "example" : "",
335       "deprecated" : "",
336       "since" : "",
337       "see" : "",
338       "params" : [
339         {
340           "name" : "side",
341           "type" : "String",
342           "desc" : "Can be t, l, r, b or any combination of those to add multiple values. For example,\npassing lr would get the border (l)eft width + the border (r)ight width.",
343           "isOptional" : false
344         }
345       ],
346       "returns" : [
347         {
348           "name" : "",
349           "type" : "Number",
350           "desc" : "The width of the sides passed added together"
351         }
352       ]
353     },
354     {
355       "name" : "scroll",
356       "desc" : "Scrolls this element the specified direction. Does bounds checking to make sure the scroll is\nwithin this element's scrollable range.",
357       "isStatic" : false,
358       "isConstructor" : false,
359       "isPrivate" : false,
360       "memberOf" : "Roo.Element",
361       "example" : "",
362       "deprecated" : "",
363       "since" : "",
364       "see" : "",
365       "params" : [
366         {
367           "name" : "direction",
368           "type" : "String",
369           "desc" : "Possible values are: \"l\",\"left\" - \"r\",\"right\" - \"t\",\"top\",\"up\" - \"b\",\"bottom\",\"down\".",
370           "isOptional" : false
371         },
372         {
373           "name" : "distance",
374           "type" : "Number",
375           "desc" : "How far to scroll the element in pixels",
376           "isOptional" : false
377         },
378         {
379           "name" : "animate",
380           "type" : "Boolean/Object",
381           "desc" : "(optional) true for the default animation or a standard Element animation config object",
382           "isOptional" : false
383         }
384       ],
385       "returns" : [
386         {
387           "name" : "",
388           "type" : "Boolean",
389           "desc" : "Returns true if a scroll was triggered or false if the element\nwas scrolled as far as it could go."
390         }
391       ]
392     },
393     {
394       "name" : "addKeyMap",
395       "desc" : "Creates a KeyMap for this element",
396       "isStatic" : false,
397       "isConstructor" : false,
398       "isPrivate" : false,
399       "memberOf" : "Roo.Element",
400       "example" : "",
401       "deprecated" : "",
402       "since" : "",
403       "see" : "",
404       "params" : [
405         {
406           "name" : "config",
407           "type" : "Object",
408           "desc" : "The KeyMap config. See {@link Roo.KeyMap} for more details",
409           "isOptional" : false
410         }
411       ],
412       "returns" : [
413         {
414           "name" : "",
415           "type" : "Roo.KeyMap",
416           "desc" : "The KeyMap created"
417         }
418       ]
419     },
420     {
421       "name" : "createChild",
422       "desc" : "Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.",
423       "isStatic" : false,
424       "isConstructor" : false,
425       "isPrivate" : false,
426       "memberOf" : "Roo.Element",
427       "example" : "",
428       "deprecated" : "",
429       "since" : "",
430       "see" : "",
431       "params" : [
432         {
433           "name" : "config",
434           "type" : "Object",
435           "desc" : "DomHelper element config object.  If no tag is specified (e.g., {tag:'input'}) then a div will be\nautomatically generated with the specified attributes.",
436           "isOptional" : false
437         },
438         {
439           "name" : "insertBefore",
440           "type" : "HTMLElement",
441           "desc" : "(optional) a child element of this element",
442           "isOptional" : false
443         },
444         {
445           "name" : "returnDom",
446           "type" : "Boolean",
447           "desc" : "(optional) true to return the dom node instead of creating an Element",
448           "isOptional" : false
449         }
450       ],
451       "returns" : [
452         {
453           "name" : "",
454           "type" : "Roo.Element",
455           "desc" : "The new child element"
456         }
457       ]
458     },
459     {
460       "name" : "addClass",
461       "desc" : "Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.",
462       "isStatic" : false,
463       "isConstructor" : false,
464       "isPrivate" : false,
465       "memberOf" : "Roo.Element",
466       "example" : "",
467       "deprecated" : "",
468       "since" : "",
469       "see" : "",
470       "params" : [
471         {
472           "name" : "className",
473           "type" : "String/Array",
474           "desc" : "The CSS class to add, or an array of classes",
475           "isOptional" : false
476         }
477       ],
478       "returns" : [
479         {
480           "name" : "",
481           "type" : "Roo.Element",
482           "desc" : "this"
483         }
484       ]
485     },
486     {
487       "name" : "attr",
488       "desc" : "Sets or Returns the value the dom attribute value",
489       "isStatic" : false,
490       "isConstructor" : false,
491       "isPrivate" : false,
492       "memberOf" : "Roo.Element",
493       "example" : "",
494       "deprecated" : "",
495       "since" : "",
496       "see" : "",
497       "params" : [
498         {
499           "name" : "name",
500           "type" : "String|Object",
501           "desc" : "The attribute name (or object to set multiple attributes)",
502           "isOptional" : false
503         },
504         {
505           "name" : "value",
506           "type" : "String",
507           "desc" : "(optional) The value to set the attribute to",
508           "isOptional" : false
509         }
510       ],
511       "returns" : [
512         {
513           "name" : "",
514           "type" : "String",
515           "desc" : "The attribute value"
516         }
517       ]
518     },
519     {
520       "name" : "setOpacity",
521       "desc" : "Set the opacity of the element",
522       "isStatic" : false,
523       "isConstructor" : false,
524       "isPrivate" : false,
525       "memberOf" : "Roo.Element",
526       "example" : "",
527       "deprecated" : "",
528       "since" : "",
529       "see" : "",
530       "params" : [
531         {
532           "name" : "opacity",
533           "type" : "Float",
534           "desc" : "The new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc",
535           "isOptional" : false
536         },
537         {
538           "name" : "animate",
539           "type" : "Boolean/Object",
540           "desc" : "(optional) true for the default animation or a standard Element animation config object",
541           "isOptional" : false
542         }
543       ],
544       "returns" : [
545         {
546           "name" : "",
547           "type" : "Roo.Element",
548           "desc" : "this"
549         }
550       ]
551     },
552     {
553       "name" : "setSize",
554       "desc" : "Set the size of the element. If animation is true, both width an height will be animated concurrently.",
555       "isStatic" : false,
556       "isConstructor" : false,
557       "isPrivate" : false,
558       "memberOf" : "Roo.Element",
559       "example" : "",
560       "deprecated" : "",
561       "since" : "",
562       "see" : "",
563       "params" : [
564         {
565           "name" : "width",
566           "type" : "Number",
567           "desc" : "The new width",
568           "isOptional" : false
569         },
570         {
571           "name" : "height",
572           "type" : "Number",
573           "desc" : "The new height",
574           "isOptional" : false
575         },
576         {
577           "name" : "animate",
578           "type" : "Boolean/Object",
579           "desc" : "(optional) true for the default animation or a standard Element animation config object",
580           "isOptional" : false
581         }
582       ],
583       "returns" : [
584         {
585           "name" : "",
586           "type" : "Roo.Element",
587           "desc" : "this"
588         }
589       ]
590     },
591     {
592       "name" : "un",
593       "desc" : "Removes an event handler from this element (shorthand for removeListener)",
594       "isStatic" : false,
595       "isConstructor" : false,
596       "isPrivate" : false,
597       "memberOf" : "Roo.Element",
598       "example" : "",
599       "deprecated" : "",
600       "since" : "",
601       "see" : "",
602       "params" : [
603         {
604           "name" : "eventName",
605           "type" : "String",
606           "desc" : "the type of event to remove",
607           "isOptional" : false
608         },
609         {
610           "name" : "fn",
611           "type" : "Function",
612           "desc" : "the method the event invokes",
613           "isOptional" : false
614         }
615       ],
616       "returns" : [
617         {
618           "name" : "",
619           "type" : "Roo.Element",
620           "desc" : "this"
621         }
622       ]
623     },
624     {
625       "name" : "up",
626       "desc" : "Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child).\nThis is a shortcut for findParentNode() that always returns an Roo.Element.",
627       "isStatic" : false,
628       "isConstructor" : false,
629       "isPrivate" : false,
630       "memberOf" : "Roo.Element",
631       "example" : "",
632       "deprecated" : "",
633       "since" : "",
634       "see" : "",
635       "params" : [
636         {
637           "name" : "selector",
638           "type" : "String",
639           "desc" : "The simple selector to test",
640           "isOptional" : false
641         },
642         {
643           "name" : "maxDepth",
644           "type" : "Number/String/HTMLElement/Element",
645           "desc" : "(optional) The max depth to\n                search as a number or element (defaults to 10 || document.body)",
646           "isOptional" : false
647         }
648       ],
649       "returns" : [
650         {
651           "name" : "",
652           "type" : "Roo.Element",
653           "desc" : "The matching DOM node (or null if no match was found)"
654         }
655       ]
656     },
657     {
658       "name" : "repaint",
659       "desc" : "Forces the browser to repaint this element",
660       "isStatic" : false,
661       "isConstructor" : false,
662       "isPrivate" : false,
663       "memberOf" : "Roo.Element",
664       "example" : "",
665       "deprecated" : "",
666       "since" : "",
667       "see" : "",
668       "params" : [],
669       "returns" : [
670         {
671           "name" : "",
672           "type" : "Roo.Element",
673           "desc" : "this"
674         }
675       ]
676     },
677     {
678       "name" : "translatePoints",
679       "desc" : "Translates the passed page coordinates into left/top css values for this element",
680       "isStatic" : false,
681       "isConstructor" : false,
682       "isPrivate" : false,
683       "memberOf" : "Roo.Element",
684       "example" : "",
685       "deprecated" : "",
686       "since" : "",
687       "see" : "",
688       "params" : [
689         {
690           "name" : "x",
691           "type" : "Number/Array",
692           "desc" : "The page x or an array containing [x, y]",
693           "isOptional" : false
694         },
695         {
696           "name" : "y",
697           "type" : "Number",
698           "desc" : "The page y",
699           "isOptional" : false
700         }
701       ],
702       "returns" : [
703         {
704           "name" : "",
705           "type" : "Object",
706           "desc" : "An object with left and top properties. e.g. {left: (value), top: (value)}"
707         }
708       ]
709     },
710     {
711       "name" : "createProxy",
712       "desc" : "Creates a proxy element of this element",
713       "isStatic" : false,
714       "isConstructor" : false,
715       "isPrivate" : false,
716       "memberOf" : "Roo.Element",
717       "example" : "",
718       "deprecated" : "",
719       "since" : "",
720       "see" : "",
721       "params" : [
722         {
723           "name" : "config",
724           "type" : "String/Object",
725           "desc" : "The class name of the proxy element or a DomHelper config object",
726           "isOptional" : false
727         },
728         {
729           "name" : "renderTo",
730           "type" : "String/HTMLElement",
731           "desc" : "(optional) The element or element id to render the proxy to (defaults to document.body)",
732           "isOptional" : false
733         },
734         {
735           "name" : "matchBox",
736           "type" : "Boolean",
737           "desc" : "(optional) True to align and size the proxy to this element now (defaults to false)",
738           "isOptional" : false
739         }
740       ],
741       "returns" : [
742         {
743           "name" : "",
744           "type" : "Roo.Element",
745           "desc" : "The new proxy element"
746         }
747       ]
748     },
749     {
750       "name" : "down",
751       "desc" : "Selects a single *direct* child based on the passed CSS selector (the selector should not contain an id).",
752       "isStatic" : false,
753       "isConstructor" : false,
754       "isPrivate" : false,
755       "memberOf" : "Roo.Element",
756       "example" : "",
757       "deprecated" : "",
758       "since" : "",
759       "see" : "",
760       "params" : [
761         {
762           "name" : "selector",
763           "type" : "String",
764           "desc" : "The CSS selector",
765           "isOptional" : false
766         },
767         {
768           "name" : "returnDom",
769           "type" : "Boolean",
770           "desc" : "(optional) True to return the DOM node instead of Roo.Element (defaults to false)",
771           "isOptional" : false
772         }
773       ],
774       "returns" : [
775         {
776           "name" : "",
777           "type" : "HTMLElement/Roo.Element",
778           "desc" : "The child Roo.Element (or DOM node if returnDom = true)"
779         }
780       ]
781     },
782     {
783       "name" : "getBox",
784       "desc" : "Return a box {x, y, width, height} that can be used to set another elements\nsize/location to match this element.",
785       "isStatic" : false,
786       "isConstructor" : false,
787       "isPrivate" : false,
788       "memberOf" : "Roo.Element",
789       "example" : "",
790       "deprecated" : "",
791       "since" : "",
792       "see" : "",
793       "params" : [
794         {
795           "name" : "contentBox",
796           "type" : "Boolean",
797           "desc" : "(optional) If true a box for the content of the element is returned.",
798           "isOptional" : false
799         },
800         {
801           "name" : "local",
802           "type" : "Boolean",
803           "desc" : "(optional) If true the element's left and top are returned instead of page x/y.",
804           "isOptional" : false
805         }
806       ],
807       "returns" : [
808         {
809           "name" : "",
810           "type" : "Object",
811           "desc" : "box An object in the format {x, y, width, height}"
812         }
813       ]
814     },
815     {
816       "name" : "toggle",
817       "desc" : "Toggles the element's visibility or display, depending on visibility mode.",
818       "isStatic" : false,
819       "isConstructor" : false,
820       "isPrivate" : false,
821       "memberOf" : "Roo.Element",
822       "example" : "",
823       "deprecated" : "",
824       "since" : "",
825       "see" : "",
826       "params" : [
827         {
828           "name" : "animate",
829           "type" : "Boolean/Object",
830           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
831           "isOptional" : false
832         }
833       ],
834       "returns" : [
835         {
836           "name" : "",
837           "type" : "Roo.Element",
838           "desc" : "this"
839         }
840       ]
841     },
842     {
843       "name" : "setBounds",
844       "desc" : "Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.",
845       "isStatic" : false,
846       "isConstructor" : false,
847       "isPrivate" : false,
848       "memberOf" : "Roo.Element",
849       "example" : "",
850       "deprecated" : "",
851       "since" : "",
852       "see" : "",
853       "params" : [
854         {
855           "name" : "x",
856           "type" : "Number",
857           "desc" : "X value for new position (coordinates are page-based)",
858           "isOptional" : false
859         },
860         {
861           "name" : "y",
862           "type" : "Number",
863           "desc" : "Y value for new position (coordinates are page-based)",
864           "isOptional" : false
865         },
866         {
867           "name" : "width",
868           "type" : "Number",
869           "desc" : "The new width",
870           "isOptional" : false
871         },
872         {
873           "name" : "height",
874           "type" : "Number",
875           "desc" : "The new height",
876           "isOptional" : false
877         },
878         {
879           "name" : "animate",
880           "type" : "Boolean/Object",
881           "desc" : "(optional) true for the default animation or a standard Element animation config object",
882           "isOptional" : false
883         }
884       ],
885       "returns" : [
886         {
887           "name" : "",
888           "type" : "Roo.Element",
889           "desc" : "this"
890         }
891       ]
892     },
893     {
894       "name" : "getX",
895       "desc" : "Gets the current X position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
896       "isStatic" : false,
897       "isConstructor" : false,
898       "isPrivate" : false,
899       "memberOf" : "Roo.Element",
900       "example" : "",
901       "deprecated" : "",
902       "since" : "",
903       "see" : "",
904       "params" : [],
905       "returns" : [
906         {
907           "name" : "",
908           "type" : "Number",
909           "desc" : "The X position of the element"
910         }
911       ]
912     },
913     {
914       "name" : "getY",
915       "desc" : "Gets the current Y position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
916       "isStatic" : false,
917       "isConstructor" : false,
918       "isPrivate" : false,
919       "memberOf" : "Roo.Element",
920       "example" : "",
921       "deprecated" : "",
922       "since" : "",
923       "see" : "",
924       "params" : [],
925       "returns" : [
926         {
927           "name" : "",
928           "type" : "Number",
929           "desc" : "The Y position of the element"
930         }
931       ]
932     },
933     {
934       "name" : "focus",
935       "desc" : "Tries to focus the element. Any exceptions are caught and ignored.",
936       "isStatic" : false,
937       "isConstructor" : false,
938       "isPrivate" : false,
939       "memberOf" : "Roo.Element",
940       "example" : "",
941       "deprecated" : "",
942       "since" : "",
943       "see" : "",
944       "params" : [],
945       "returns" : [
946         {
947           "name" : "",
948           "type" : "Roo.Element",
949           "desc" : "this"
950         }
951       ]
952     },
953     {
954       "name" : "get",
955       "desc" : "Static method to retrieve Element objects. Uses simple caching to consistently return the same object.\nAutomatically fixes if an object was recreated with the same id via AJAX or DOM.",
956       "isStatic" : true,
957       "isConstructor" : false,
958       "isPrivate" : false,
959       "memberOf" : "Roo.Element",
960       "example" : "",
961       "deprecated" : "",
962       "since" : "",
963       "see" : "",
964       "params" : [
965         {
966           "name" : "el",
967           "type" : "String/HTMLElement/Element",
968           "desc" : "The id of the node, a DOM Node or an existing Element.",
969           "isOptional" : false
970         }
971       ],
972       "returns" : [
973         {
974           "name" : "",
975           "type" : "Element",
976           "desc" : "The Element object"
977         }
978       ]
979     },
980     {
981       "name" : "autoHeight",
982       "desc" : "Measures the element's content height and updates height to match. Note: this function uses setTimeout so\nthe new height may not be available immediately.",
983       "isStatic" : false,
984       "isConstructor" : false,
985       "isPrivate" : false,
986       "memberOf" : "Roo.Element",
987       "example" : "",
988       "deprecated" : "",
989       "since" : "",
990       "see" : "",
991       "params" : [
992         {
993           "name" : "animate",
994           "type" : "Boolean",
995           "desc" : "(optional) Animate the transition (defaults to false)",
996           "isOptional" : false
997         },
998         {
999           "name" : "duration",
1000           "type" : "Float",
1001           "desc" : "(optional) Length of the animation in seconds (defaults to .35)",
1002           "isOptional" : false
1003         },
1004         {
1005           "name" : "onComplete",
1006           "type" : "Function",
1007           "desc" : "(optional) Function to call when animation completes",
1008           "isOptional" : false
1009         },
1010         {
1011           "name" : "easing",
1012           "type" : "String",
1013           "desc" : "(optional) Easing method to use (defaults to easeOut)",
1014           "isOptional" : false
1015         }
1016       ],
1017       "returns" : [
1018         {
1019           "name" : "",
1020           "type" : "Roo.Element",
1021           "desc" : "this"
1022         }
1023       ]
1024     },
1025     {
1026       "name" : "scrollIntoView",
1027       "desc" : "Scrolls this element into view within the passed container.",
1028       "isStatic" : false,
1029       "isConstructor" : false,
1030       "isPrivate" : false,
1031       "memberOf" : "Roo.Element",
1032       "example" : "",
1033       "deprecated" : "",
1034       "since" : "",
1035       "see" : "",
1036       "params" : [
1037         {
1038           "name" : "container",
1039           "type" : "String/HTMLElement/Element",
1040           "desc" : "(optional) The container element to scroll (defaults to document.body)",
1041           "isOptional" : false
1042         },
1043         {
1044           "name" : "hscroll",
1045           "type" : "Boolean",
1046           "desc" : "(optional) False to disable horizontal scroll (defaults to true)",
1047           "isOptional" : false
1048         }
1049       ],
1050       "returns" : [
1051         {
1052           "name" : "",
1053           "type" : "Roo.Element",
1054           "desc" : "this"
1055         }
1056       ]
1057     },
1058     {
1059       "name" : "getAlignToXY",
1060       "desc" : "Gets the x,y coordinates to align this element with another element. See {@link #alignTo} for more info on the\nsupported position values.",
1061       "isStatic" : false,
1062       "isConstructor" : false,
1063       "isPrivate" : false,
1064       "memberOf" : "Roo.Element",
1065       "example" : "",
1066       "deprecated" : "",
1067       "since" : "",
1068       "see" : "",
1069       "params" : [
1070         {
1071           "name" : "element",
1072           "type" : "String/HTMLElement/Roo.Element",
1073           "desc" : "The element to align to.",
1074           "isOptional" : false
1075         },
1076         {
1077           "name" : "position",
1078           "type" : "String",
1079           "desc" : "The position to align to.",
1080           "isOptional" : false
1081         },
1082         {
1083           "name" : "offsets",
1084           "type" : "Array",
1085           "desc" : "(optional) Offset the positioning by [x, y]",
1086           "isOptional" : false
1087         }
1088       ],
1089       "returns" : [
1090         {
1091           "name" : "",
1092           "type" : "Array",
1093           "desc" : "[x, y]"
1094         }
1095       ]
1096     },
1097     {
1098       "name" : "clearOpacity",
1099       "desc" : "Clears any opacity settings from this element. Required in some cases for IE.",
1100       "isStatic" : false,
1101       "isConstructor" : false,
1102       "isPrivate" : false,
1103       "memberOf" : "Roo.Element",
1104       "example" : "",
1105       "deprecated" : "",
1106       "since" : "",
1107       "see" : "",
1108       "params" : [],
1109       "returns" : [
1110         {
1111           "name" : "",
1112           "type" : "Roo.Element",
1113           "desc" : "this"
1114         }
1115       ]
1116     },
1117     {
1118       "name" : "setPositioning",
1119       "desc" : "Set positioning with an object returned by getPositioning().",
1120       "isStatic" : false,
1121       "isConstructor" : false,
1122       "isPrivate" : false,
1123       "memberOf" : "Roo.Element",
1124       "example" : "",
1125       "deprecated" : "",
1126       "since" : "",
1127       "see" : "",
1128       "params" : [
1129         {
1130           "name" : "posCfg",
1131           "type" : "Object",
1132           "desc" : "",
1133           "isOptional" : false
1134         }
1135       ],
1136       "returns" : [
1137         {
1138           "name" : "",
1139           "type" : "Roo.Element",
1140           "desc" : "this"
1141         }
1142       ]
1143     },
1144     {
1145       "name" : "getMargins",
1146       "desc" : "Returns an object with properties top, left, right and bottom representing the margins of this element unless sides is passed,\nthen it returns the calculated width of the sides (see getPadding)",
1147       "isStatic" : false,
1148       "isConstructor" : false,
1149       "isPrivate" : false,
1150       "memberOf" : "Roo.Element",
1151       "example" : "",
1152       "deprecated" : "",
1153       "since" : "",
1154       "see" : "",
1155       "params" : [
1156         {
1157           "name" : "sides",
1158           "type" : "String",
1159           "desc" : "(optional) Any combination of l, r, t, b to get the sum of those sides",
1160           "isOptional" : false
1161         }
1162       ],
1163       "returns" : [
1164         {
1165           "name" : "",
1166           "type" : "Object/Number",
1167           "desc" : ""
1168         }
1169       ]
1170     },
1171     {
1172       "name" : "setRegion",
1173       "desc" : "Sets the element's position and size the the specified region. If animation is true then width, height, x and y will be animated concurrently.",
1174       "isStatic" : false,
1175       "isConstructor" : false,
1176       "isPrivate" : false,
1177       "memberOf" : "Roo.Element",
1178       "example" : "",
1179       "deprecated" : "",
1180       "since" : "",
1181       "see" : "",
1182       "params" : [
1183         {
1184           "name" : "region",
1185           "type" : "Roo.lib.Region",
1186           "desc" : "The region to fill",
1187           "isOptional" : false
1188         },
1189         {
1190           "name" : "animate",
1191           "type" : "Boolean/Object",
1192           "desc" : "(optional) true for the default animation or a standard Element animation config object",
1193           "isOptional" : false
1194         }
1195       ],
1196       "returns" : [
1197         {
1198           "name" : "",
1199           "type" : "Roo.Element",
1200           "desc" : "this"
1201         }
1202       ]
1203     },
1204     {
1205       "name" : "getAttributeNS",
1206       "desc" : "Returns the value of a namespaced attribute from the element's underlying DOM node.",
1207       "isStatic" : false,
1208       "isConstructor" : false,
1209       "isPrivate" : false,
1210       "memberOf" : "Roo.Element",
1211       "example" : "",
1212       "deprecated" : "",
1213       "since" : "",
1214       "see" : "",
1215       "params" : [
1216         {
1217           "name" : "namespace",
1218           "type" : "String",
1219           "desc" : "The namespace in which to look for the attribute",
1220           "isOptional" : false
1221         },
1222         {
1223           "name" : "name",
1224           "type" : "String",
1225           "desc" : "The attribute name",
1226           "isOptional" : false
1227         }
1228       ],
1229       "returns" : [
1230         {
1231           "name" : "",
1232           "type" : "String",
1233           "desc" : "The attribute value"
1234         }
1235       ]
1236     },
1237     {
1238       "name" : "setLeft",
1239       "desc" : "Sets the element's left position directly using CSS style (instead of {@link #setX}).",
1240       "isStatic" : false,
1241       "isConstructor" : false,
1242       "isPrivate" : false,
1243       "memberOf" : "Roo.Element",
1244       "example" : "",
1245       "deprecated" : "",
1246       "since" : "",
1247       "see" : "",
1248       "params" : [
1249         {
1250           "name" : "left",
1251           "type" : "String",
1252           "desc" : "The left CSS property value",
1253           "isOptional" : false
1254         }
1255       ],
1256       "returns" : [
1257         {
1258           "name" : "",
1259           "type" : "Roo.Element",
1260           "desc" : "this"
1261         }
1262       ]
1263     },
1264     {
1265       "name" : "load",
1266       "desc" : "Direct access to the UpdateManager update() method (takes the same parameters).",
1267       "isStatic" : false,
1268       "isConstructor" : false,
1269       "isPrivate" : false,
1270       "memberOf" : "Roo.Element",
1271       "example" : "",
1272       "deprecated" : "",
1273       "since" : "",
1274       "see" : "",
1275       "params" : [
1276         {
1277           "name" : "url",
1278           "type" : "String/Function",
1279           "desc" : "The url for this request or a function to call to get the url",
1280           "isOptional" : false
1281         },
1282         {
1283           "name" : "params",
1284           "type" : "String/Object",
1285           "desc" : "(optional) The parameters to pass as either a url encoded string \"param1=1&param2=2\" or an object {param1: 1, param2: 2}",
1286           "isOptional" : false
1287         },
1288         {
1289           "name" : "callback",
1290           "type" : "Function",
1291           "desc" : "(optional) Callback when transaction is complete - called with signature (oElement, bSuccess)",
1292           "isOptional" : false
1293         },
1294         {
1295           "name" : "discardUrl",
1296           "type" : "Boolean",
1297           "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.",
1298           "isOptional" : false
1299         }
1300       ],
1301       "returns" : [
1302         {
1303           "name" : "",
1304           "type" : "Roo.Element",
1305           "desc" : "this"
1306         }
1307       ]
1308     },
1309     {
1310       "name" : "replaceClass",
1311       "desc" : "Replaces a CSS class on the element with another.  If the old name does not exist, the new name will simply be added.",
1312       "isStatic" : false,
1313       "isConstructor" : false,
1314       "isPrivate" : false,
1315       "memberOf" : "Roo.Element",
1316       "example" : "",
1317       "deprecated" : "",
1318       "since" : "",
1319       "see" : "",
1320       "params" : [
1321         {
1322           "name" : "oldClassName",
1323           "type" : "String",
1324           "desc" : "The CSS class to replace",
1325           "isOptional" : false
1326         },
1327         {
1328           "name" : "newClassName",
1329           "type" : "String",
1330           "desc" : "The replacement CSS class",
1331           "isOptional" : false
1332         }
1333       ],
1334       "returns" : [
1335         {
1336           "name" : "",
1337           "type" : "Roo.Element",
1338           "desc" : "this"
1339         }
1340       ]
1341     },
1342     {
1343       "name" : "initDDTarget",
1344       "desc" : "Initializes a {@link Roo.dd.DDTarget} object for this element.",
1345       "isStatic" : false,
1346       "isConstructor" : false,
1347       "isPrivate" : false,
1348       "memberOf" : "Roo.Element",
1349       "example" : "",
1350       "deprecated" : "",
1351       "since" : "",
1352       "see" : "",
1353       "params" : [
1354         {
1355           "name" : "group",
1356           "type" : "String",
1357           "desc" : "The group the DDTarget object is member of",
1358           "isOptional" : false
1359         },
1360         {
1361           "name" : "config",
1362           "type" : "Object",
1363           "desc" : "The DDTarget config object",
1364           "isOptional" : false
1365         },
1366         {
1367           "name" : "overrides",
1368           "type" : "Object",
1369           "desc" : "An object containing methods to override/implement on the DDTarget object",
1370           "isOptional" : false
1371         }
1372       ],
1373       "returns" : [
1374         {
1375           "name" : "",
1376           "type" : "Roo.dd.DDTarget",
1377           "desc" : "The DDTarget object"
1378         }
1379       ]
1380     },
1381     {
1382       "name" : "setHeight",
1383       "desc" : "Set the height of the element",
1384       "isStatic" : false,
1385       "isConstructor" : false,
1386       "isPrivate" : false,
1387       "memberOf" : "Roo.Element",
1388       "example" : "",
1389       "deprecated" : "",
1390       "since" : "",
1391       "see" : "",
1392       "params" : [
1393         {
1394           "name" : "height",
1395           "type" : "Number",
1396           "desc" : "The new height",
1397           "isOptional" : false
1398         },
1399         {
1400           "name" : "animate",
1401           "type" : "Boolean/Object",
1402           "desc" : "(optional) true for the default animation or a standard Element animation config object",
1403           "isOptional" : false
1404         }
1405       ],
1406       "returns" : [
1407         {
1408           "name" : "",
1409           "type" : "Roo.Element",
1410           "desc" : "this"
1411         }
1412       ]
1413     },
1414     {
1415       "name" : "clean",
1416       "desc" : "Removes worthless text nodes",
1417       "isStatic" : false,
1418       "isConstructor" : false,
1419       "isPrivate" : false,
1420       "memberOf" : "Roo.Element",
1421       "example" : "",
1422       "deprecated" : "",
1423       "since" : "",
1424       "see" : "",
1425       "params" : [
1426         {
1427           "name" : "forceReclean",
1428           "type" : "Boolean",
1429           "desc" : "(optional) By default the element\nkeeps track if it has been cleaned already so\nyou can call this over and over. However, if you update the element and\nneed to force a reclean, you can pass true.",
1430           "isOptional" : false
1431         }
1432       ],
1433       "returns" : []
1434     },
1435     {
1436       "name" : "getPositioning",
1437       "desc" : "Gets an object with all CSS positioning properties. Useful along with setPostioning to get\nsnapshot before performing an update and then restoring the element.",
1438       "isStatic" : false,
1439       "isConstructor" : false,
1440       "isPrivate" : false,
1441       "memberOf" : "Roo.Element",
1442       "example" : "",
1443       "deprecated" : "",
1444       "since" : "",
1445       "see" : "",
1446       "params" : [],
1447       "returns" : [
1448         {
1449           "name" : "",
1450           "type" : "Object",
1451           "desc" : ""
1452         }
1453       ]
1454     },
1455     {
1456       "name" : "update",
1457       "desc" : "Update the innerHTML of this element, optionally searching for and processing scripts",
1458       "isStatic" : false,
1459       "isConstructor" : false,
1460       "isPrivate" : false,
1461       "memberOf" : "Roo.Element",
1462       "example" : "",
1463       "deprecated" : "",
1464       "since" : "",
1465       "see" : "",
1466       "params" : [
1467         {
1468           "name" : "html",
1469           "type" : "String",
1470           "desc" : "The new HTML",
1471           "isOptional" : false
1472         },
1473         {
1474           "name" : "loadScripts",
1475           "type" : "Boolean",
1476           "desc" : "(optional) true to look for and process scripts",
1477           "isOptional" : false
1478         },
1479         {
1480           "name" : "callback",
1481           "type" : "Function",
1482           "desc" : "For async script loading you can be noticed when the update completes",
1483           "isOptional" : false
1484         }
1485       ],
1486       "returns" : [
1487         {
1488           "name" : "",
1489           "type" : "Roo.Element",
1490           "desc" : "this"
1491         }
1492       ]
1493     },
1494     {
1495       "name" : "contains",
1496       "desc" : "Returns true if this element is an ancestor of the passed element",
1497       "isStatic" : false,
1498       "isConstructor" : false,
1499       "isPrivate" : false,
1500       "memberOf" : "Roo.Element",
1501       "example" : "",
1502       "deprecated" : "",
1503       "since" : "",
1504       "see" : "",
1505       "params" : [
1506         {
1507           "name" : "el",
1508           "type" : "HTMLElement/String",
1509           "desc" : "The element to check",
1510           "isOptional" : false
1511         }
1512       ],
1513       "returns" : [
1514         {
1515           "name" : "",
1516           "type" : "Boolean",
1517           "desc" : "True if this element is an ancestor of el, else false"
1518         }
1519       ]
1520     },
1521     {
1522       "name" : "appendChild",
1523       "desc" : "Appends the passed element(s) to this element",
1524       "isStatic" : false,
1525       "isConstructor" : false,
1526       "isPrivate" : false,
1527       "memberOf" : "Roo.Element",
1528       "example" : "",
1529       "deprecated" : "",
1530       "since" : "",
1531       "see" : "",
1532       "params" : [
1533         {
1534           "name" : "el",
1535           "type" : "String/HTMLElement/Array/Element/CompositeElement",
1536           "desc" : "",
1537           "isOptional" : false
1538         }
1539       ],
1540       "returns" : [
1541         {
1542           "name" : "",
1543           "type" : "Roo.Element",
1544           "desc" : "this"
1545         }
1546       ]
1547     },
1548     {
1549       "name" : "getValue",
1550       "desc" : "Returns the value of the \"value\" attribute",
1551       "isStatic" : false,
1552       "isConstructor" : false,
1553       "isPrivate" : false,
1554       "memberOf" : "Roo.Element",
1555       "example" : "",
1556       "deprecated" : "",
1557       "since" : "",
1558       "see" : "",
1559       "params" : [
1560         {
1561           "name" : "asNumber",
1562           "type" : "Boolean",
1563           "desc" : "true to parse the value as a number",
1564           "isOptional" : false
1565         }
1566       ],
1567       "returns" : [
1568         {
1569           "name" : "",
1570           "type" : "String/Number",
1571           "desc" : ""
1572         }
1573       ]
1574     },
1575     {
1576       "name" : "getRegion",
1577       "desc" : "Returns the region of the given element.\nThe element must be part of the DOM tree to have a region (display:none or elements not appended return false).",
1578       "isStatic" : false,
1579       "isConstructor" : false,
1580       "isPrivate" : false,
1581       "memberOf" : "Roo.Element",
1582       "example" : "",
1583       "deprecated" : "",
1584       "since" : "",
1585       "see" : "",
1586       "params" : [],
1587       "returns" : [
1588         {
1589           "name" : "",
1590           "type" : "Region",
1591           "desc" : "A Roo.lib.Region containing \"top, left, bottom, right\" member data."
1592         }
1593       ]
1594     },
1595     {
1596       "name" : "anchorTo",
1597       "desc" : "Anchors an element to another element and realigns it when the window is resized.",
1598       "isStatic" : false,
1599       "isConstructor" : false,
1600       "isPrivate" : false,
1601       "memberOf" : "Roo.Element",
1602       "example" : "",
1603       "deprecated" : "",
1604       "since" : "",
1605       "see" : "",
1606       "params" : [
1607         {
1608           "name" : "element",
1609           "type" : "String/HTMLElement/Roo.Element",
1610           "desc" : "The element to align to.",
1611           "isOptional" : false
1612         },
1613         {
1614           "name" : "position",
1615           "type" : "String",
1616           "desc" : "The position to align to.",
1617           "isOptional" : false
1618         },
1619         {
1620           "name" : "offsets",
1621           "type" : "Array",
1622           "desc" : "(optional) Offset the positioning by [x, y]",
1623           "isOptional" : false
1624         },
1625         {
1626           "name" : "animate",
1627           "type" : "Boolean/Object",
1628           "desc" : "(optional) True for the default animation or a standard Element animation config object",
1629           "isOptional" : false
1630         },
1631         {
1632           "name" : "monitorScroll",
1633           "type" : "Boolean/Number",
1634           "desc" : "(optional) True to monitor body scroll and reposition. If this parameter\nis a number, it is used as the buffer delay (defaults to 50ms).",
1635           "isOptional" : false
1636         },
1637         {
1638           "name" : "callback",
1639           "type" : "Function",
1640           "desc" : "The function to call after the animation finishes",
1641           "isOptional" : false
1642         }
1643       ],
1644       "returns" : [
1645         {
1646           "name" : "",
1647           "type" : "Roo.Element",
1648           "desc" : "this"
1649         }
1650       ]
1651     },
1652     {
1653       "name" : "removeClass",
1654       "desc" : "Removes one or more CSS classes from the element.",
1655       "isStatic" : false,
1656       "isConstructor" : false,
1657       "isPrivate" : false,
1658       "memberOf" : "Roo.Element",
1659       "example" : "",
1660       "deprecated" : "",
1661       "since" : "",
1662       "see" : "",
1663       "params" : [
1664         {
1665           "name" : "className",
1666           "type" : "String/Array",
1667           "desc" : "The CSS class to remove, or an array of classes",
1668           "isOptional" : false
1669         }
1670       ],
1671       "returns" : [
1672         {
1673           "name" : "",
1674           "type" : "Roo.Element",
1675           "desc" : "this"
1676         }
1677       ]
1678     },
1679     {
1680       "name" : "radioClass",
1681       "desc" : "Adds one or more CSS classes to this element and removes the same class(es) from all siblings.",
1682       "isStatic" : false,
1683       "isConstructor" : false,
1684       "isPrivate" : false,
1685       "memberOf" : "Roo.Element",
1686       "example" : "",
1687       "deprecated" : "",
1688       "since" : "",
1689       "see" : "",
1690       "params" : [
1691         {
1692           "name" : "className",
1693           "type" : "String/Array",
1694           "desc" : "The CSS class to add, or an array of classes",
1695           "isOptional" : false
1696         }
1697       ],
1698       "returns" : [
1699         {
1700           "name" : "",
1701           "type" : "Roo.Element",
1702           "desc" : "this"
1703         }
1704       ]
1705     },
1706     {
1707       "name" : "getWidth",
1708       "desc" : "Returns the offset width of the element",
1709       "isStatic" : false,
1710       "isConstructor" : false,
1711       "isPrivate" : false,
1712       "memberOf" : "Roo.Element",
1713       "example" : "",
1714       "deprecated" : "",
1715       "since" : "",
1716       "see" : "",
1717       "params" : [
1718         {
1719           "name" : "contentWidth",
1720           "type" : "Boolean",
1721           "desc" : "(optional) true to get the width minus borders and padding",
1722           "isOptional" : false
1723         }
1724       ],
1725       "returns" : [
1726         {
1727           "name" : "",
1728           "type" : "Number",
1729           "desc" : "The element's width"
1730         }
1731       ]
1732     },
1733     {
1734       "name" : "insertBefore",
1735       "desc" : "Inserts this element before the passed element in the DOM",
1736       "isStatic" : false,
1737       "isConstructor" : false,
1738       "isPrivate" : false,
1739       "memberOf" : "Roo.Element",
1740       "example" : "",
1741       "deprecated" : "",
1742       "since" : "",
1743       "see" : "",
1744       "params" : [
1745         {
1746           "name" : "el",
1747           "type" : "String/HTMLElement/Element",
1748           "desc" : "The element to insert before",
1749           "isOptional" : false
1750         }
1751       ],
1752       "returns" : [
1753         {
1754           "name" : "",
1755           "type" : "Roo.Element",
1756           "desc" : "this"
1757         }
1758       ]
1759     },
1760     {
1761       "name" : "getHeight",
1762       "desc" : "Returns the offset height of the element",
1763       "isStatic" : false,
1764       "isConstructor" : false,
1765       "isPrivate" : false,
1766       "memberOf" : "Roo.Element",
1767       "example" : "",
1768       "deprecated" : "",
1769       "since" : "",
1770       "see" : "",
1771       "params" : [
1772         {
1773           "name" : "contentHeight",
1774           "type" : "Boolean",
1775           "desc" : "(optional) true to get the height minus borders and padding",
1776           "isOptional" : false
1777         }
1778       ],
1779       "returns" : [
1780         {
1781           "name" : "",
1782           "type" : "Number",
1783           "desc" : "The element's height"
1784         }
1785       ]
1786     },
1787     {
1788       "name" : "setTop",
1789       "desc" : "Sets the element's top position directly using CSS style (instead of {@link #setY}).",
1790       "isStatic" : false,
1791       "isConstructor" : false,
1792       "isPrivate" : false,
1793       "memberOf" : "Roo.Element",
1794       "example" : "",
1795       "deprecated" : "",
1796       "since" : "",
1797       "see" : "",
1798       "params" : [
1799         {
1800           "name" : "top",
1801           "type" : "String",
1802           "desc" : "The top CSS property value",
1803           "isOptional" : false
1804         }
1805       ],
1806       "returns" : [
1807         {
1808           "name" : "",
1809           "type" : "Roo.Element",
1810           "desc" : "this"
1811         }
1812       ]
1813     },
1814     {
1815       "name" : "toggleClass",
1816       "desc" : "Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).",
1817       "isStatic" : false,
1818       "isConstructor" : false,
1819       "isPrivate" : false,
1820       "memberOf" : "Roo.Element",
1821       "example" : "",
1822       "deprecated" : "",
1823       "since" : "",
1824       "see" : "",
1825       "params" : [
1826         {
1827           "name" : "className",
1828           "type" : "String",
1829           "desc" : "The CSS class to toggle",
1830           "isOptional" : false
1831         }
1832       ],
1833       "returns" : [
1834         {
1835           "name" : "",
1836           "type" : "Roo.Element",
1837           "desc" : "this"
1838         }
1839       ]
1840     },
1841     {
1842       "name" : "wrap",
1843       "desc" : "Creates and wraps this element with another element",
1844       "isStatic" : false,
1845       "isConstructor" : false,
1846       "isPrivate" : false,
1847       "memberOf" : "Roo.Element",
1848       "example" : "",
1849       "deprecated" : "",
1850       "since" : "",
1851       "see" : "",
1852       "params" : [
1853         {
1854           "name" : "config",
1855           "type" : "Object",
1856           "desc" : "(optional) DomHelper element config object for the wrapper element or null for an empty div",
1857           "isOptional" : false
1858         },
1859         {
1860           "name" : "returnDom",
1861           "type" : "Boolean",
1862           "desc" : "(optional) True to return the raw DOM element instead of Roo.Element",
1863           "isOptional" : false
1864         }
1865       ],
1866       "returns" : [
1867         {
1868           "name" : "",
1869           "type" : "HTMLElement/Element",
1870           "desc" : "The newly created wrapper element"
1871         }
1872       ]
1873     },
1874     {
1875       "name" : "setVisible",
1876       "desc" : "Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use\nthe display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property.",
1877       "isStatic" : false,
1878       "isConstructor" : false,
1879       "isPrivate" : false,
1880       "memberOf" : "Roo.Element",
1881       "example" : "",
1882       "deprecated" : "",
1883       "since" : "",
1884       "see" : "",
1885       "params" : [
1886         {
1887           "name" : "visible",
1888           "type" : "Boolean",
1889           "desc" : "Whether the element is visible",
1890           "isOptional" : false
1891         },
1892         {
1893           "name" : "animate",
1894           "type" : "Boolean/Object",
1895           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
1896           "isOptional" : false
1897         }
1898       ],
1899       "returns" : [
1900         {
1901           "name" : "",
1902           "type" : "Roo.Element",
1903           "desc" : "this"
1904         }
1905       ]
1906     },
1907     {
1908       "name" : "addListener",
1909       "desc" : "Appends an event handler",
1910       "isStatic" : false,
1911       "isConstructor" : false,
1912       "isPrivate" : false,
1913       "memberOf" : "Roo.Element",
1914       "example" : "",
1915       "deprecated" : "",
1916       "since" : "",
1917       "see" : "",
1918       "params" : [
1919         {
1920           "name" : "eventName",
1921           "type" : "String",
1922           "desc" : "The type of event to append",
1923           "isOptional" : false
1924         },
1925         {
1926           "name" : "fn",
1927           "type" : "Function",
1928           "desc" : "The method the event invokes",
1929           "isOptional" : false
1930         },
1931         {
1932           "name" : "scope",
1933           "type" : "Object",
1934           "desc" : "(optional) The scope (this object) of the fn",
1935           "isOptional" : false
1936         },
1937         {
1938           "name" : "options",
1939           "type" : "Object",
1940           "desc" : "(optional)An object with standard {@link Roo.EventManager#addListener} options",
1941           "isOptional" : false
1942         }
1943       ],
1944       "returns" : []
1945     },
1946     {
1947       "name" : "setWidth",
1948       "desc" : "Set the width of the element",
1949       "isStatic" : false,
1950       "isConstructor" : false,
1951       "isPrivate" : false,
1952       "memberOf" : "Roo.Element",
1953       "example" : "",
1954       "deprecated" : "",
1955       "since" : "",
1956       "see" : "",
1957       "params" : [
1958         {
1959           "name" : "width",
1960           "type" : "Number",
1961           "desc" : "The new width",
1962           "isOptional" : false
1963         },
1964         {
1965           "name" : "animate",
1966           "type" : "Boolean/Object",
1967           "desc" : "(optional) true for the default animation or a standard Element animation config object",
1968           "isOptional" : false
1969         }
1970       ],
1971       "returns" : [
1972         {
1973           "name" : "",
1974           "type" : "Roo.Element",
1975           "desc" : "this"
1976         }
1977       ]
1978     },
1979     {
1980       "name" : "center",
1981       "desc" : "Centers the Element in either the viewport, or another Element.",
1982       "isStatic" : false,
1983       "isConstructor" : false,
1984       "isPrivate" : false,
1985       "memberOf" : "Roo.Element",
1986       "example" : "",
1987       "deprecated" : "",
1988       "since" : "",
1989       "see" : "",
1990       "params" : [
1991         {
1992           "name" : "centerIn",
1993           "type" : "String/HTMLElement/Roo.Element",
1994           "desc" : "(optional) The element in which to center the element.",
1995           "isOptional" : false
1996         }
1997       ],
1998       "returns" : []
1999     },
2000     {
2001       "name" : "isVisible",
2002       "desc" : "Checks whether the element is currently visible using both visibility and display properties.",
2003       "isStatic" : false,
2004       "isConstructor" : false,
2005       "isPrivate" : false,
2006       "memberOf" : "Roo.Element",
2007       "example" : "",
2008       "deprecated" : "",
2009       "since" : "",
2010       "see" : "",
2011       "params" : [
2012         {
2013           "name" : "deep",
2014           "type" : "Boolean",
2015           "desc" : "(optional) True to walk the dom and see if parent elements are hidden (defaults to false)",
2016           "isOptional" : false
2017         }
2018       ],
2019       "returns" : [
2020         {
2021           "name" : "",
2022           "type" : "Boolean",
2023           "desc" : "True if the element is currently visible, else false"
2024         }
2025       ]
2026     },
2027     {
2028       "name" : "findParent",
2029       "desc" : "Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)",
2030       "isStatic" : false,
2031       "isConstructor" : false,
2032       "isPrivate" : false,
2033       "memberOf" : "Roo.Element",
2034       "example" : "",
2035       "deprecated" : "",
2036       "since" : "",
2037       "see" : "",
2038       "params" : [
2039         {
2040           "name" : "selector",
2041           "type" : "String",
2042           "desc" : "The simple selector to test",
2043           "isOptional" : false
2044         },
2045         {
2046           "name" : "maxDepth",
2047           "type" : "Number/String/HTMLElement/Element",
2048           "desc" : "(optional) The max depth to\n                search as a number or element (defaults to 10 || document.body)",
2049           "isOptional" : false
2050         },
2051         {
2052           "name" : "returnEl",
2053           "type" : "Boolean",
2054           "desc" : "(optional) True to return a Roo.Element object instead of DOM node",
2055           "isOptional" : false
2056         }
2057       ],
2058       "returns" : [
2059         {
2060           "name" : "",
2061           "type" : "HTMLElement",
2062           "desc" : "The matching DOM node (or null if no match was found)"
2063         }
2064       ]
2065     },
2066     {
2067       "name" : "addKeyListener",
2068       "desc" : "Convenience method for constructing a KeyMap",
2069       "isStatic" : false,
2070       "isConstructor" : false,
2071       "isPrivate" : false,
2072       "memberOf" : "Roo.Element",
2073       "example" : "",
2074       "deprecated" : "",
2075       "since" : "",
2076       "see" : "",
2077       "params" : [
2078         {
2079           "name" : "key",
2080           "type" : "Number/Array/Object/String",
2081           "desc" : "Either a string with the keys to listen for, the numeric key code, array of key codes or an object with the following options:\n                                 {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}",
2082           "isOptional" : false
2083         },
2084         {
2085           "name" : "fn",
2086           "type" : "Function",
2087           "desc" : "The function to call",
2088           "isOptional" : false
2089         },
2090         {
2091           "name" : "scope",
2092           "type" : "Object",
2093           "desc" : "(optional) The scope of the function",
2094           "isOptional" : false
2095         }
2096       ],
2097       "returns" : [
2098         {
2099           "name" : "",
2100           "type" : "Roo.KeyMap",
2101           "desc" : "The KeyMap created"
2102         }
2103       ]
2104     },
2105     {
2106       "name" : "swallowEvent",
2107       "desc" : "Stops the specified event from bubbling and optionally prevents the default action",
2108       "isStatic" : false,
2109       "isConstructor" : false,
2110       "isPrivate" : false,
2111       "memberOf" : "Roo.Element",
2112       "example" : "",
2113       "deprecated" : "",
2114       "since" : "",
2115       "see" : "",
2116       "params" : [
2117         {
2118           "name" : "eventName",
2119           "type" : "String",
2120           "desc" : "",
2121           "isOptional" : false
2122         },
2123         {
2124           "name" : "preventDefault",
2125           "type" : "Boolean",
2126           "desc" : "(optional) true to prevent the default action too",
2127           "isOptional" : false
2128         }
2129       ],
2130       "returns" : [
2131         {
2132           "name" : "",
2133           "type" : "Roo.Element",
2134           "desc" : "this"
2135         }
2136       ]
2137     },
2138     {
2139       "name" : "getStyles",
2140       "desc" : "Returns an object with properties matching the styles requested.\nFor example, el.getStyles('color', 'font-size', 'width') might return\n{'color': '#FFFFFF', 'font-size': '13px', 'width': '100px'}.",
2141       "isStatic" : false,
2142       "isConstructor" : false,
2143       "isPrivate" : false,
2144       "memberOf" : "Roo.Element",
2145       "example" : "",
2146       "deprecated" : "",
2147       "since" : "",
2148       "see" : "",
2149       "params" : [
2150         {
2151           "name" : "style1",
2152           "type" : "String",
2153           "desc" : "A style name",
2154           "isOptional" : false
2155         },
2156         {
2157           "name" : "style2",
2158           "type" : "String",
2159           "desc" : "A style name",
2160           "isOptional" : false
2161         }
2162       ],
2163       "returns" : [
2164         {
2165           "name" : "",
2166           "type" : "Object",
2167           "desc" : "The style object"
2168         }
2169       ]
2170     },
2171     {
2172       "name" : "getSize",
2173       "desc" : "Returns the size of the element.",
2174       "isStatic" : false,
2175       "isConstructor" : false,
2176       "isPrivate" : false,
2177       "memberOf" : "Roo.Element",
2178       "example" : "",
2179       "deprecated" : "",
2180       "since" : "",
2181       "see" : "",
2182       "params" : [
2183         {
2184           "name" : "contentSize",
2185           "type" : "Boolean",
2186           "desc" : "(optional) true to get the width/size minus borders and padding",
2187           "isOptional" : false
2188         }
2189       ],
2190       "returns" : [
2191         {
2192           "name" : "",
2193           "type" : "Object",
2194           "desc" : "An object containing the element's size {width: (element width), height: (element height)}"
2195         }
2196       ]
2197     },
2198     {
2199       "name" : "endMeasure",
2200       "desc" : "Restores displays to before beginMeasure was called",
2201       "isStatic" : false,
2202       "isConstructor" : false,
2203       "isPrivate" : false,
2204       "memberOf" : "Roo.Element",
2205       "example" : "",
2206       "deprecated" : "",
2207       "since" : "",
2208       "see" : "",
2209       "params" : [],
2210       "returns" : [
2211         {
2212           "name" : "",
2213           "type" : "Roo.Element",
2214           "desc" : "this"
2215         }
2216       ]
2217     },
2218     {
2219       "name" : "getViewSize",
2220       "desc" : "Returns the width and height of the viewport.",
2221       "isStatic" : false,
2222       "isConstructor" : false,
2223       "isPrivate" : false,
2224       "memberOf" : "Roo.Element",
2225       "example" : "",
2226       "deprecated" : "",
2227       "since" : "",
2228       "see" : "",
2229       "params" : [],
2230       "returns" : [
2231         {
2232           "name" : "",
2233           "type" : "Object",
2234           "desc" : "An object containing the viewport's size {width: (viewport width), height: (viewport height)}"
2235         }
2236       ]
2237     },
2238     {
2239       "name" : "addClassOnFocus",
2240       "desc" : "Sets up event handlers to add and remove a css class when this element has the focus",
2241       "isStatic" : false,
2242       "isConstructor" : false,
2243       "isPrivate" : false,
2244       "memberOf" : "Roo.Element",
2245       "example" : "",
2246       "deprecated" : "",
2247       "since" : "",
2248       "see" : "",
2249       "params" : [
2250         {
2251           "name" : "className",
2252           "type" : "String",
2253           "desc" : "",
2254           "isOptional" : false
2255         }
2256       ],
2257       "returns" : [
2258         {
2259           "name" : "",
2260           "type" : "Roo.Element",
2261           "desc" : "this"
2262         }
2263       ]
2264     },
2265     {
2266       "name" : "alignTo",
2267       "desc" : "Aligns this element with another element relative to the specified anchor points. If the other element is the\ndocument it aligns it to the viewport.\nThe position parameter is optional, and can be specified in any one of the following formats:\n<ul>\n  <li><b>Blank</b>: Defaults to aligning the element's top-left corner to the target's bottom-left corner (\"tl-bl\").</li>\n  <li><b>One anchor (deprecated)</b>: The passed anchor position is used as the target element's anchor point.\n      The element being aligned will position its top-left corner (tl) to that point.  <i>This method has been\n      deprecated in favor of the newer two anchor syntax below</i>.</li>\n  <li><b>Two anchors</b>: If two values from the table below are passed separated by a dash, the first value is used as the\n      element's anchor point, and the second value is used as the target's anchor point.</li>\n</ul>\nIn addition to the anchor points, the position parameter also supports the \"?\" character.  If \"?\" is passed at the end of\nthe position string, the element will attempt to align as specified, but the position will be adjusted to constrain to\nthe viewport if necessary.  Note that the element being aligned might be swapped to align to a different position than\nthat specified in order to enforce the viewport constraints.\nFollowing are all of the supported anchor positions:\n    <pre>\n    Value  Description\n    -----  -----------------------------\n    tl     The top left corner (default)\n    t      The center of the top edge\n    tr     The top right corner\n    l      The center of the left edge\n    c      In the center of the element\n    r      The center of the right edge\n    bl     The bottom left corner\n    b      The center of the bottom edge\n    br     The bottom right corner\n    </pre>\n    Example Usage:\n    <pre><code>\n    // align el to other-el using the default positioning (\"tl-bl\", non-constrained)\n    el.alignTo(\"other-el\");\n\n    // align the top left corner of el with the top right corner of other-el (constrained to viewport)\n    el.alignTo(\"other-el\", \"tr?\");\n\n    // align the bottom right corner of el with the center left edge of other-el\n    el.alignTo(\"other-el\", \"br-l?\");\n\n    // align the center of el with the bottom left corner of other-el and\n    // adjust the x position by -6 pixels (and the y position by 0)\n    el.alignTo(\"other-el\", \"c-bl\", [-6, 0]);\n    </code></pre>",
2268       "isStatic" : false,
2269       "isConstructor" : false,
2270       "isPrivate" : false,
2271       "memberOf" : "Roo.Element",
2272       "example" : "",
2273       "deprecated" : "",
2274       "since" : "",
2275       "see" : "",
2276       "params" : [
2277         {
2278           "name" : "element",
2279           "type" : "String/HTMLElement/Roo.Element",
2280           "desc" : "The element to align to.",
2281           "isOptional" : false
2282         },
2283         {
2284           "name" : "position",
2285           "type" : "String",
2286           "desc" : "The position to align to.",
2287           "isOptional" : false
2288         },
2289         {
2290           "name" : "offsets",
2291           "type" : "Array",
2292           "desc" : "(optional) Offset the positioning by [x, y]",
2293           "isOptional" : false
2294         },
2295         {
2296           "name" : "animate",
2297           "type" : "Boolean/Object",
2298           "desc" : "(optional) true for the default animation or a standard Element animation config object",
2299           "isOptional" : false
2300         }
2301       ],
2302       "returns" : [
2303         {
2304           "name" : "",
2305           "type" : "Roo.Element",
2306           "desc" : "this"
2307         }
2308       ]
2309     },
2310     {
2311       "name" : "insertAfter",
2312       "desc" : "Inserts this element after the passed element in the DOM",
2313       "isStatic" : false,
2314       "isConstructor" : false,
2315       "isPrivate" : false,
2316       "memberOf" : "Roo.Element",
2317       "example" : "",
2318       "deprecated" : "",
2319       "since" : "",
2320       "see" : "",
2321       "params" : [
2322         {
2323           "name" : "el",
2324           "type" : "String/HTMLElement/Element",
2325           "desc" : "The element to insert after",
2326           "isOptional" : false
2327         }
2328       ],
2329       "returns" : [
2330         {
2331           "name" : "",
2332           "type" : "Roo.Element",
2333           "desc" : "this"
2334         }
2335       ]
2336     },
2337     {
2338       "name" : "hide",
2339       "desc" : "Hide this element - Uses display mode to determine whether to use \"display\" or \"visibility\". See {@link #setVisible}.",
2340       "isStatic" : false,
2341       "isConstructor" : false,
2342       "isPrivate" : false,
2343       "memberOf" : "Roo.Element",
2344       "example" : "",
2345       "deprecated" : "",
2346       "since" : "",
2347       "see" : "",
2348       "params" : [
2349         {
2350           "name" : "animate",
2351           "type" : "Boolean/Object",
2352           "desc" : "(optional) true for the default animation or a standard Element animation config object",
2353           "isOptional" : false
2354         }
2355       ],
2356       "returns" : [
2357         {
2358           "name" : "",
2359           "type" : "Roo.Element",
2360           "desc" : "this"
2361         }
2362       ]
2363     },
2364     {
2365       "name" : "setBottom",
2366       "desc" : "Sets the element's CSS bottom style.",
2367       "isStatic" : false,
2368       "isConstructor" : false,
2369       "isPrivate" : false,
2370       "memberOf" : "Roo.Element",
2371       "example" : "",
2372       "deprecated" : "",
2373       "since" : "",
2374       "see" : "",
2375       "params" : [
2376         {
2377           "name" : "bottom",
2378           "type" : "String",
2379           "desc" : "The bottom CSS property value",
2380           "isOptional" : false
2381         }
2382       ],
2383       "returns" : [
2384         {
2385           "name" : "",
2386           "type" : "Roo.Element",
2387           "desc" : "this"
2388         }
2389       ]
2390     },
2391     {
2392       "name" : "clearPositioning",
2393       "desc" : "Clear positioning back to the default when the document was loaded",
2394       "isStatic" : false,
2395       "isConstructor" : false,
2396       "isPrivate" : false,
2397       "memberOf" : "Roo.Element",
2398       "example" : "",
2399       "deprecated" : "",
2400       "since" : "",
2401       "see" : "",
2402       "params" : [
2403         {
2404           "name" : "value",
2405           "type" : "String",
2406           "desc" : "(optional) The value to use for the left,right,top,bottom, defaults to '' (empty string). You could use 'auto'.",
2407           "isOptional" : false
2408         }
2409       ],
2410       "returns" : [
2411         {
2412           "name" : "",
2413           "type" : "Roo.Element",
2414           "desc" : "this"
2415         }
2416       ]
2417     },
2418     {
2419       "name" : "isDisplayed",
2420       "desc" : "Returns true if display is not \"none\"",
2421       "isStatic" : false,
2422       "isConstructor" : false,
2423       "isPrivate" : false,
2424       "memberOf" : "Roo.Element",
2425       "example" : "",
2426       "deprecated" : "",
2427       "since" : "",
2428       "see" : "",
2429       "params" : [],
2430       "returns" : [
2431         {
2432           "name" : "",
2433           "type" : "Boolean",
2434           "desc" : ""
2435         }
2436       ]
2437     },
2438     {
2439       "name" : "show",
2440       "desc" : "Show this element - Uses display mode to determine whether to use \"display\" or \"visibility\". See {@link #setVisible}.",
2441       "isStatic" : false,
2442       "isConstructor" : false,
2443       "isPrivate" : false,
2444       "memberOf" : "Roo.Element",
2445       "example" : "",
2446       "deprecated" : "",
2447       "since" : "",
2448       "see" : "",
2449       "params" : [
2450         {
2451           "name" : "animate",
2452           "type" : "Boolean/Object",
2453           "desc" : "(optional) true for the default animation or a standard Element animation config object",
2454           "isOptional" : false
2455         }
2456       ],
2457       "returns" : [
2458         {
2459           "name" : "",
2460           "type" : "Roo.Element",
2461           "desc" : "this"
2462         }
2463       ]
2464     },
2465     {
2466       "name" : "setLeftTop",
2467       "desc" : "Quick set left and top adding default units",
2468       "isStatic" : false,
2469       "isConstructor" : false,
2470       "isPrivate" : false,
2471       "memberOf" : "Roo.Element",
2472       "example" : "",
2473       "deprecated" : "",
2474       "since" : "",
2475       "see" : "",
2476       "params" : [
2477         {
2478           "name" : "left",
2479           "type" : "String",
2480           "desc" : "The left CSS property value",
2481           "isOptional" : false
2482         },
2483         {
2484           "name" : "top",
2485           "type" : "String",
2486           "desc" : "The top CSS property value",
2487           "isOptional" : false
2488         }
2489       ],
2490       "returns" : [
2491         {
2492           "name" : "",
2493           "type" : "Roo.Element",
2494           "desc" : "this"
2495         }
2496       ]
2497     },
2498     {
2499       "name" : "child",
2500       "desc" : "Selects a single child at any depth below this element based on the passed CSS selector (the selector should not contain an id).",
2501       "isStatic" : false,
2502       "isConstructor" : false,
2503       "isPrivate" : false,
2504       "memberOf" : "Roo.Element",
2505       "example" : "",
2506       "deprecated" : "",
2507       "since" : "",
2508       "see" : "",
2509       "params" : [
2510         {
2511           "name" : "selector",
2512           "type" : "String",
2513           "desc" : "The CSS selector",
2514           "isOptional" : false
2515         },
2516         {
2517           "name" : "returnDom",
2518           "type" : "Boolean",
2519           "desc" : "(optional) True to return the DOM node instead of Roo.Element (defaults to false)",
2520           "isOptional" : false
2521         }
2522       ],
2523       "returns" : [
2524         {
2525           "name" : "",
2526           "type" : "HTMLElement/Roo.Element",
2527           "desc" : "The child Roo.Element (or DOM node if returnDom = true)"
2528         }
2529       ]
2530     },
2531     {
2532       "name" : "unmask",
2533       "desc" : "Removes a previously applied mask. If removeEl is true the mask overlay is destroyed, otherwise\nit is cached for reuse.",
2534       "isStatic" : false,
2535       "isConstructor" : false,
2536       "isPrivate" : false,
2537       "memberOf" : "Roo.Element",
2538       "example" : "",
2539       "deprecated" : "",
2540       "since" : "",
2541       "see" : "",
2542       "params" : [],
2543       "returns" : []
2544     },
2545     {
2546       "name" : "moveTo",
2547       "desc" : "Sets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
2548       "isStatic" : false,
2549       "isConstructor" : false,
2550       "isPrivate" : false,
2551       "memberOf" : "Roo.Element",
2552       "example" : "",
2553       "deprecated" : "",
2554       "since" : "",
2555       "see" : "",
2556       "params" : [
2557         {
2558           "name" : "x",
2559           "type" : "Number",
2560           "desc" : "X value for new position (coordinates are page-based)",
2561           "isOptional" : false
2562         },
2563         {
2564           "name" : "y",
2565           "type" : "Number",
2566           "desc" : "Y value for new position (coordinates are page-based)",
2567           "isOptional" : false
2568         },
2569         {
2570           "name" : "animate",
2571           "type" : "Boolean/Object",
2572           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
2573           "isOptional" : false
2574         }
2575       ],
2576       "returns" : [
2577         {
2578           "name" : "",
2579           "type" : "Roo.Element",
2580           "desc" : "this"
2581         }
2582       ]
2583     },
2584     {
2585       "name" : "addClassOnOver",
2586       "desc" : "Sets up event handlers to add and remove a css class when the mouse is over this element",
2587       "isStatic" : false,
2588       "isConstructor" : false,
2589       "isPrivate" : false,
2590       "memberOf" : "Roo.Element",
2591       "example" : "",
2592       "deprecated" : "",
2593       "since" : "",
2594       "see" : "",
2595       "params" : [
2596         {
2597           "name" : "className",
2598           "type" : "String",
2599           "desc" : "",
2600           "isOptional" : false
2601         },
2602         {
2603           "name" : "preventFlicker",
2604           "type" : "Boolean",
2605           "desc" : "(optional) If set to true, it prevents flickering by filtering\nmouseout events for children elements",
2606           "isOptional" : false
2607         }
2608       ],
2609       "returns" : [
2610         {
2611           "name" : "",
2612           "type" : "Roo.Element",
2613           "desc" : "this"
2614         }
2615       ]
2616     },
2617     {
2618       "name" : "getLeft",
2619       "desc" : "Gets the left X coordinate",
2620       "isStatic" : false,
2621       "isConstructor" : false,
2622       "isPrivate" : false,
2623       "memberOf" : "Roo.Element",
2624       "example" : "",
2625       "deprecated" : "",
2626       "since" : "",
2627       "see" : "",
2628       "params" : [
2629         {
2630           "name" : "local",
2631           "type" : "Boolean",
2632           "desc" : "True to get the local css position instead of page coordinate",
2633           "isOptional" : false
2634         }
2635       ],
2636       "returns" : [
2637         {
2638           "name" : "",
2639           "type" : "Number",
2640           "desc" : ""
2641         }
2642       ]
2643     },
2644     {
2645       "name" : "isScrollable",
2646       "desc" : "Returns true if this element is scrollable.",
2647       "isStatic" : false,
2648       "isConstructor" : false,
2649       "isPrivate" : false,
2650       "memberOf" : "Roo.Element",
2651       "example" : "",
2652       "deprecated" : "",
2653       "since" : "",
2654       "see" : "",
2655       "params" : [],
2656       "returns" : [
2657         {
2658           "name" : "",
2659           "type" : "Boolean",
2660           "desc" : ""
2661         }
2662       ]
2663     },
2664     {
2665       "name" : "boxWrap",
2666       "desc" : "Wraps the specified element with a special markup/CSS block that renders by default as a gray container with a\ngradient background, rounded corners and a 4-way shadow.",
2667       "isStatic" : false,
2668       "isConstructor" : false,
2669       "isPrivate" : false,
2670       "memberOf" : "Roo.Element",
2671       "example" : "",
2672       "deprecated" : "",
2673       "since" : "",
2674       "see" : "",
2675       "params" : [
2676         {
2677           "name" : "class",
2678           "type" : "String",
2679           "desc" : "(optional) A base CSS class to apply to the containing wrapper element (defaults to 'x-box').\nNote that there are a number of CSS rules that are dependent on this name to make the overall effect work,\nso if you supply an alternate base class, make sure you also supply all of the necessary rules.",
2680           "isOptional" : false
2681         }
2682       ],
2683       "returns" : [
2684         {
2685           "name" : "",
2686           "type" : "Roo.Element",
2687           "desc" : "this"
2688         }
2689       ]
2690     },
2691     {
2692       "name" : "replace",
2693       "desc" : "Replaces the passed element with this element",
2694       "isStatic" : false,
2695       "isConstructor" : false,
2696       "isPrivate" : false,
2697       "memberOf" : "Roo.Element",
2698       "example" : "",
2699       "deprecated" : "",
2700       "since" : "",
2701       "see" : "",
2702       "params" : [
2703         {
2704           "name" : "el",
2705           "type" : "String/HTMLElement/Element",
2706           "desc" : "The element to replace",
2707           "isOptional" : false
2708         }
2709       ],
2710       "returns" : [
2711         {
2712           "name" : "",
2713           "type" : "Roo.Element",
2714           "desc" : "this"
2715         }
2716       ]
2717     },
2718     {
2719       "name" : "select",
2720       "desc" : "Creates a {@link Roo.CompositeElement} for child nodes based on the passed CSS selector (the selector should not contain an id).",
2721       "isStatic" : false,
2722       "isConstructor" : false,
2723       "isPrivate" : false,
2724       "memberOf" : "Roo.Element",
2725       "example" : "",
2726       "deprecated" : "",
2727       "since" : "",
2728       "see" : "",
2729       "params" : [
2730         {
2731           "name" : "selector",
2732           "type" : "String",
2733           "desc" : "The CSS selector",
2734           "isOptional" : false
2735         },
2736         {
2737           "name" : "unique",
2738           "type" : "Boolean",
2739           "desc" : "(optional) True to create a unique Roo.Element for each child (defaults to false, which creates a single shared flyweight object)",
2740           "isOptional" : false
2741         }
2742       ],
2743       "returns" : [
2744         {
2745           "name" : "",
2746           "type" : "CompositeElement/CompositeElementLite",
2747           "desc" : "The composite element"
2748         }
2749       ]
2750     },
2751     {
2752       "name" : "isMasked",
2753       "desc" : "Returns true if this element is masked",
2754       "isStatic" : false,
2755       "isConstructor" : false,
2756       "isPrivate" : false,
2757       "memberOf" : "Roo.Element",
2758       "example" : "",
2759       "deprecated" : "",
2760       "since" : "",
2761       "see" : "",
2762       "params" : [],
2763       "returns" : [
2764         {
2765           "name" : "",
2766           "type" : "Boolean",
2767           "desc" : ""
2768         }
2769       ]
2770     },
2771     {
2772       "name" : "getUpdateManager",
2773       "desc" : "Gets this element's UpdateManager",
2774       "isStatic" : false,
2775       "isConstructor" : false,
2776       "isPrivate" : false,
2777       "memberOf" : "Roo.Element",
2778       "example" : "",
2779       "deprecated" : "",
2780       "since" : "",
2781       "see" : "",
2782       "params" : [],
2783       "returns" : [
2784         {
2785           "name" : "",
2786           "type" : "Roo.UpdateManager",
2787           "desc" : "The UpdateManager"
2788         }
2789       ]
2790     },
2791     {
2792       "name" : "insertHtml",
2793       "desc" : "Inserts an html fragment into this element",
2794       "isStatic" : false,
2795       "isConstructor" : false,
2796       "isPrivate" : false,
2797       "memberOf" : "Roo.Element",
2798       "example" : "",
2799       "deprecated" : "",
2800       "since" : "",
2801       "see" : "",
2802       "params" : [
2803         {
2804           "name" : "where",
2805           "type" : "String",
2806           "desc" : "Where to insert the html in relation to the this element - beforeBegin, afterBegin, beforeEnd, afterEnd.",
2807           "isOptional" : false
2808         },
2809         {
2810           "name" : "html",
2811           "type" : "String",
2812           "desc" : "The HTML fragment",
2813           "isOptional" : false
2814         },
2815         {
2816           "name" : "returnEl",
2817           "type" : "Boolean",
2818           "desc" : "True to return an Roo.Element",
2819           "isOptional" : false
2820         }
2821       ],
2822       "returns" : [
2823         {
2824           "name" : "",
2825           "type" : "HTMLElement/Roo.Element",
2826           "desc" : "The inserted node (or nearest related if more than 1 inserted)"
2827         }
2828       ]
2829     },
2830     {
2831       "name" : "mask",
2832       "desc" : "Puts a mask over this element to disable user interaction. Requires core.css.\nThis method can only be applied to elements which accept child nodes.",
2833       "isStatic" : false,
2834       "isConstructor" : false,
2835       "isPrivate" : false,
2836       "memberOf" : "Roo.Element",
2837       "example" : "",
2838       "deprecated" : "",
2839       "since" : "",
2840       "see" : "",
2841       "params" : [
2842         {
2843           "name" : "msg",
2844           "type" : "String",
2845           "desc" : "(optional) A message to display in the mask",
2846           "isOptional" : false
2847         },
2848         {
2849           "name" : "msgCls",
2850           "type" : "String",
2851           "desc" : "(optional) A css class to apply to the msg element",
2852           "isOptional" : false
2853         }
2854       ],
2855       "returns" : [
2856         {
2857           "name" : "",
2858           "type" : "Element",
2859           "desc" : "The mask  element"
2860         }
2861       ]
2862     },
2863     {
2864       "name" : "getTop",
2865       "desc" : "Gets the top Y coordinate",
2866       "isStatic" : false,
2867       "isConstructor" : false,
2868       "isPrivate" : false,
2869       "memberOf" : "Roo.Element",
2870       "example" : "",
2871       "deprecated" : "",
2872       "since" : "",
2873       "see" : "",
2874       "params" : [
2875         {
2876           "name" : "local",
2877           "type" : "Boolean",
2878           "desc" : "True to get the local css position instead of page coordinate",
2879           "isOptional" : false
2880         }
2881       ],
2882       "returns" : [
2883         {
2884           "name" : "",
2885           "type" : "Number",
2886           "desc" : ""
2887         }
2888       ]
2889     },
2890     {
2891       "name" : "getBottom",
2892       "desc" : "Gets the bottom Y coordinate of the element (element Y position + element height)",
2893       "isStatic" : false,
2894       "isConstructor" : false,
2895       "isPrivate" : false,
2896       "memberOf" : "Roo.Element",
2897       "example" : "",
2898       "deprecated" : "",
2899       "since" : "",
2900       "see" : "",
2901       "params" : [
2902         {
2903           "name" : "local",
2904           "type" : "Boolean",
2905           "desc" : "True to get the local css position instead of page coordinate",
2906           "isOptional" : false
2907         }
2908       ],
2909       "returns" : [
2910         {
2911           "name" : "",
2912           "type" : "Number",
2913           "desc" : ""
2914         }
2915       ]
2916     },
2917     {
2918       "name" : "getRight",
2919       "desc" : "Gets the right X coordinate of the element (element X position + element width)",
2920       "isStatic" : false,
2921       "isConstructor" : false,
2922       "isPrivate" : false,
2923       "memberOf" : "Roo.Element",
2924       "example" : "",
2925       "deprecated" : "",
2926       "since" : "",
2927       "see" : "",
2928       "params" : [
2929         {
2930           "name" : "local",
2931           "type" : "Boolean",
2932           "desc" : "True to get the local css position instead of page coordinate",
2933           "isOptional" : false
2934         }
2935       ],
2936       "returns" : [
2937         {
2938           "name" : "",
2939           "type" : "Number",
2940           "desc" : ""
2941         }
2942       ]
2943     },
2944     {
2945       "name" : "beginMeasure",
2946       "desc" : "Temporarily enables offsets (width,height,x,y) for an element with display:none, use endMeasure() when done.",
2947       "isStatic" : false,
2948       "isConstructor" : false,
2949       "isPrivate" : false,
2950       "memberOf" : "Roo.Element",
2951       "example" : "",
2952       "deprecated" : "",
2953       "since" : "",
2954       "see" : "",
2955       "params" : [],
2956       "returns" : [
2957         {
2958           "name" : "",
2959           "type" : "Roo.Element",
2960           "desc" : "this"
2961         }
2962       ]
2963     },
2964     {
2965       "name" : "appendTo",
2966       "desc" : "Appends this element to the passed element",
2967       "isStatic" : false,
2968       "isConstructor" : false,
2969       "isPrivate" : false,
2970       "memberOf" : "Roo.Element",
2971       "example" : "",
2972       "deprecated" : "",
2973       "since" : "",
2974       "see" : "",
2975       "params" : [
2976         {
2977           "name" : "el",
2978           "type" : "String/HTMLElement/Element",
2979           "desc" : "The new parent element",
2980           "isOptional" : false
2981         }
2982       ],
2983       "returns" : [
2984         {
2985           "name" : "",
2986           "type" : "Roo.Element",
2987           "desc" : "this"
2988         }
2989       ]
2990     },
2991     {
2992       "name" : "fly",
2993       "desc" : "Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -\nthe dom node can be overwritten by other code.",
2994       "isStatic" : true,
2995       "isConstructor" : false,
2996       "isPrivate" : false,
2997       "memberOf" : "Roo.Element",
2998       "example" : "",
2999       "deprecated" : "",
3000       "since" : "",
3001       "see" : "",
3002       "params" : [
3003         {
3004           "name" : "el",
3005           "type" : "String/HTMLElement",
3006           "desc" : "The dom node or id",
3007           "isOptional" : false
3008         },
3009         {
3010           "name" : "named",
3011           "type" : "String",
3012           "desc" : "(optional) Allows for creation of named reusable flyweights to\n                                 prevent conflicts (e.g. internally Roo uses \"_internal\")",
3013           "isOptional" : false
3014         }
3015       ],
3016       "returns" : [
3017         {
3018           "name" : "",
3019           "type" : "Element",
3020           "desc" : "The shared Element object"
3021         }
3022       ]
3023     },
3024     {
3025       "name" : "hasClass",
3026       "desc" : "Checks if the specified CSS class exists on this element's DOM node.",
3027       "isStatic" : false,
3028       "isConstructor" : false,
3029       "isPrivate" : false,
3030       "memberOf" : "Roo.Element",
3031       "example" : "",
3032       "deprecated" : "",
3033       "since" : "",
3034       "see" : "",
3035       "params" : [
3036         {
3037           "name" : "className",
3038           "type" : "String",
3039           "desc" : "The CSS class to check for",
3040           "isOptional" : false
3041         }
3042       ],
3043       "returns" : [
3044         {
3045           "name" : "",
3046           "type" : "Boolean",
3047           "desc" : "True if the class exists, else false"
3048         }
3049       ]
3050     },
3051     {
3052       "name" : "findScrollableParent",
3053       "desc" : "Looks at  the scrollable parent element",
3054       "isStatic" : false,
3055       "isConstructor" : false,
3056       "isPrivate" : false,
3057       "memberOf" : "Roo.Element",
3058       "example" : "",
3059       "deprecated" : "",
3060       "since" : "",
3061       "see" : "",
3062       "params" : [],
3063       "returns" : []
3064     },
3065     {
3066       "name" : "fitToParent",
3067       "desc" : "Sizes this element to its parent element's dimensions performing\nneccessary box adjustments.",
3068       "isStatic" : false,
3069       "isConstructor" : false,
3070       "isPrivate" : false,
3071       "memberOf" : "Roo.Element",
3072       "example" : "",
3073       "deprecated" : "",
3074       "since" : "",
3075       "see" : "",
3076       "params" : [
3077         {
3078           "name" : "monitorResize",
3079           "type" : "Boolean",
3080           "desc" : "(optional) If true maintains the fit when the browser window is resized.",
3081           "isOptional" : false
3082         },
3083         {
3084           "name" : "targetParent",
3085           "type" : "String/HTMLElment/Element",
3086           "desc" : "(optional) The target parent, default to the parentNode.",
3087           "isOptional" : false
3088         }
3089       ],
3090       "returns" : [
3091         {
3092           "name" : "",
3093           "type" : "Roo.Element",
3094           "desc" : "this"
3095         }
3096       ]
3097     },
3098     {
3099       "name" : "setXY",
3100       "desc" : "Sets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
3101       "isStatic" : false,
3102       "isConstructor" : false,
3103       "isPrivate" : false,
3104       "memberOf" : "Roo.Element",
3105       "example" : "",
3106       "deprecated" : "",
3107       "since" : "",
3108       "see" : "",
3109       "params" : [
3110         {
3111           "name" : "pos",
3112           "type" : "Array",
3113           "desc" : "Contains X & Y [x, y] values for new position (coordinates are page-based)",
3114           "isOptional" : false
3115         },
3116         {
3117           "name" : "animate",
3118           "type" : "Boolean/Object",
3119           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
3120           "isOptional" : false
3121         }
3122       ],
3123       "returns" : [
3124         {
3125           "name" : "",
3126           "type" : "Roo.Element",
3127           "desc" : "this"
3128         }
3129       ]
3130     },
3131     {
3132       "name" : "getXY",
3133       "desc" : "Gets the current position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
3134       "isStatic" : false,
3135       "isConstructor" : false,
3136       "isPrivate" : false,
3137       "memberOf" : "Roo.Element",
3138       "example" : "",
3139       "deprecated" : "",
3140       "since" : "",
3141       "see" : "",
3142       "params" : [],
3143       "returns" : [
3144         {
3145           "name" : "",
3146           "type" : "Array",
3147           "desc" : "The XY position of the element"
3148         }
3149       ]
3150     },
3151     {
3152       "name" : "unselectable",
3153       "desc" : "Disables text selection for this element (normalized across browsers)",
3154       "isStatic" : false,
3155       "isConstructor" : false,
3156       "isPrivate" : false,
3157       "memberOf" : "Roo.Element",
3158       "example" : "",
3159       "deprecated" : "",
3160       "since" : "",
3161       "see" : "",
3162       "params" : [],
3163       "returns" : [
3164         {
3165           "name" : "",
3166           "type" : "Roo.Element",
3167           "desc" : "this"
3168         }
3169       ]
3170     },
3171     {
3172       "name" : "blur",
3173       "desc" : "Tries to blur the element. Any exceptions are caught and ignored.",
3174       "isStatic" : false,
3175       "isConstructor" : false,
3176       "isPrivate" : false,
3177       "memberOf" : "Roo.Element",
3178       "example" : "",
3179       "deprecated" : "",
3180       "since" : "",
3181       "see" : "",
3182       "params" : [],
3183       "returns" : [
3184         {
3185           "name" : "",
3186           "type" : "Roo.Element",
3187           "desc" : "this"
3188         }
3189       ]
3190     },
3191     {
3192       "name" : "setRight",
3193       "desc" : "Sets the element's CSS right style.",
3194       "isStatic" : false,
3195       "isConstructor" : false,
3196       "isPrivate" : false,
3197       "memberOf" : "Roo.Element",
3198       "example" : "",
3199       "deprecated" : "",
3200       "since" : "",
3201       "see" : "",
3202       "params" : [
3203         {
3204           "name" : "right",
3205           "type" : "String",
3206           "desc" : "The right CSS property value",
3207           "isOptional" : false
3208         }
3209       ],
3210       "returns" : [
3211         {
3212           "name" : "",
3213           "type" : "Roo.Element",
3214           "desc" : "this"
3215         }
3216       ]
3217     },
3218     {
3219       "name" : "findParentNode",
3220       "desc" : "Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)",
3221       "isStatic" : false,
3222       "isConstructor" : false,
3223       "isPrivate" : false,
3224       "memberOf" : "Roo.Element",
3225       "example" : "",
3226       "deprecated" : "",
3227       "since" : "",
3228       "see" : "",
3229       "params" : [
3230         {
3231           "name" : "selector",
3232           "type" : "String",
3233           "desc" : "The simple selector to test",
3234           "isOptional" : false
3235         },
3236         {
3237           "name" : "maxDepth",
3238           "type" : "Number/String/HTMLElement/Element",
3239           "desc" : "(optional) The max depth to\n                search as a number or element (defaults to 10 || document.body)",
3240           "isOptional" : false
3241         },
3242         {
3243           "name" : "returnEl",
3244           "type" : "Boolean",
3245           "desc" : "(optional) True to return a Roo.Element object instead of DOM node",
3246           "isOptional" : false
3247         }
3248       ],
3249       "returns" : [
3250         {
3251           "name" : "",
3252           "type" : "HTMLElement",
3253           "desc" : "The matching DOM node (or null if no match was found)"
3254         }
3255       ]
3256     },
3257     {
3258       "name" : "position",
3259       "desc" : "Initializes positioning on this element. If a desired position is not passed, it will make the\nthe element positioned relative IF it is not already positioned.",
3260       "isStatic" : false,
3261       "isConstructor" : false,
3262       "isPrivate" : false,
3263       "memberOf" : "Roo.Element",
3264       "example" : "",
3265       "deprecated" : "",
3266       "since" : "",
3267       "see" : "",
3268       "params" : [
3269         {
3270           "name" : "pos",
3271           "type" : "String",
3272           "desc" : "(optional) Positioning to use \"relative\", \"absolute\" or \"fixed\"",
3273           "isOptional" : false
3274         },
3275         {
3276           "name" : "zIndex",
3277           "type" : "Number",
3278           "desc" : "(optional) The zIndex to apply",
3279           "isOptional" : false
3280         },
3281         {
3282           "name" : "x",
3283           "type" : "Number",
3284           "desc" : "(optional) Set the page X position",
3285           "isOptional" : false
3286         },
3287         {
3288           "name" : "y",
3289           "type" : "Number",
3290           "desc" : "(optional) Set the page Y position",
3291           "isOptional" : false
3292         }
3293       ],
3294       "returns" : []
3295     },
3296     {
3297       "name" : "getFrameWidth",
3298       "desc" : "Returns the sum width of the padding and borders for the passed \"sides\". See getBorderWidth()\n         for more information about the sides.",
3299       "isStatic" : false,
3300       "isConstructor" : false,
3301       "isPrivate" : false,
3302       "memberOf" : "Roo.Element",
3303       "example" : "",
3304       "deprecated" : "",
3305       "since" : "",
3306       "see" : "",
3307       "params" : [
3308         {
3309           "name" : "sides",
3310           "type" : "String",
3311           "desc" : "",
3312           "isOptional" : false
3313         }
3314       ],
3315       "returns" : [
3316         {
3317           "name" : "",
3318           "type" : "Number",
3319           "desc" : ""
3320         }
3321       ]
3322     },
3323     {
3324       "name" : "setLocation",
3325       "desc" : "Sets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
3326       "isStatic" : false,
3327       "isConstructor" : false,
3328       "isPrivate" : false,
3329       "memberOf" : "Roo.Element",
3330       "example" : "",
3331       "deprecated" : "",
3332       "since" : "",
3333       "see" : "",
3334       "params" : [
3335         {
3336           "name" : "x",
3337           "type" : "Number",
3338           "desc" : "X value for new position (coordinates are page-based)",
3339           "isOptional" : false
3340         },
3341         {
3342           "name" : "y",
3343           "type" : "Number",
3344           "desc" : "Y value for new position (coordinates are page-based)",
3345           "isOptional" : false
3346         },
3347         {
3348           "name" : "animate",
3349           "type" : "Boolean/Object",
3350           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
3351           "isOptional" : false
3352         }
3353       ],
3354       "returns" : [
3355         {
3356           "name" : "",
3357           "type" : "Roo.Element",
3358           "desc" : "this"
3359         }
3360       ]
3361     },
3362     {
3363       "name" : "unclip",
3364       "desc" : "Return clipping (overflow) to original clipping before clip() was called",
3365       "isStatic" : false,
3366       "isConstructor" : false,
3367       "isPrivate" : false,
3368       "memberOf" : "Roo.Element",
3369       "example" : "",
3370       "deprecated" : "",
3371       "since" : "",
3372       "see" : "",
3373       "params" : [],
3374       "returns" : [
3375         {
3376           "name" : "",
3377           "type" : "Roo.Element",
3378           "desc" : "this"
3379         }
3380       ]
3381     },
3382     {
3383       "name" : "set",
3384       "desc" : "Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)",
3385       "isStatic" : false,
3386       "isConstructor" : false,
3387       "isPrivate" : false,
3388       "memberOf" : "Roo.Element",
3389       "example" : "",
3390       "deprecated" : "",
3391       "since" : "",
3392       "see" : "",
3393       "params" : [
3394         {
3395           "name" : "o",
3396           "type" : "Object",
3397           "desc" : "The object with the attributes",
3398           "isOptional" : false
3399         },
3400         {
3401           "name" : "useSet",
3402           "type" : "Boolean",
3403           "desc" : "(optional) false to override the default setAttribute to use expandos.",
3404           "isOptional" : false
3405         }
3406       ],
3407       "returns" : [
3408         {
3409           "name" : "",
3410           "type" : "Roo.Element",
3411           "desc" : "this"
3412         }
3413       ]
3414     },
3415     {
3416       "name" : "setDisplayed",
3417       "desc" : "Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.",
3418       "isStatic" : false,
3419       "isConstructor" : false,
3420       "isPrivate" : false,
3421       "memberOf" : "Roo.Element",
3422       "example" : "",
3423       "deprecated" : "",
3424       "since" : "",
3425       "see" : "",
3426       "params" : [
3427         {
3428           "name" : "value",
3429           "type" : "Boolean",
3430           "desc" : "Boolean value to display the element using its default display, or a string to set the display directly",
3431           "isOptional" : false
3432         }
3433       ],
3434       "returns" : [
3435         {
3436           "name" : "",
3437           "type" : "Roo.Element",
3438           "desc" : "this"
3439         }
3440       ]
3441     },
3442     {
3443       "name" : "insertFirst",
3444       "desc" : "Inserts (or creates) an element (or DomHelper config) as the first child of the this element",
3445       "isStatic" : false,
3446       "isConstructor" : false,
3447       "isPrivate" : false,
3448       "memberOf" : "Roo.Element",
3449       "example" : "",
3450       "deprecated" : "",
3451       "since" : "",
3452       "see" : "",
3453       "params" : [
3454         {
3455           "name" : "el",
3456           "type" : "String/HTMLElement/Element/Object",
3457           "desc" : "The id or element to insert or a DomHelper config to create and insert",
3458           "isOptional" : false
3459         }
3460       ],
3461       "returns" : [
3462         {
3463           "name" : "",
3464           "type" : "Roo.Element",
3465           "desc" : "The new child"
3466         }
3467       ]
3468     },
3469     {
3470       "name" : "animate",
3471       "desc" : "Perform animation on this element.",
3472       "isStatic" : false,
3473       "isConstructor" : false,
3474       "isPrivate" : false,
3475       "memberOf" : "Roo.Element",
3476       "example" : "",
3477       "deprecated" : "",
3478       "since" : "",
3479       "see" : "",
3480       "params" : [
3481         {
3482           "name" : "args",
3483           "type" : "Object",
3484           "desc" : "The YUI animation control args",
3485           "isOptional" : false
3486         },
3487         {
3488           "name" : "duration",
3489           "type" : "Float",
3490           "desc" : "(optional) How long the animation lasts in seconds (defaults to .35)",
3491           "isOptional" : false
3492         },
3493         {
3494           "name" : "onComplete",
3495           "type" : "Function",
3496           "desc" : "(optional) Function to call when animation completes",
3497           "isOptional" : false
3498         },
3499         {
3500           "name" : "easing",
3501           "type" : "String",
3502           "desc" : "(optional) Easing method to use (defaults to 'easeOut')",
3503           "isOptional" : false
3504         },
3505         {
3506           "name" : "animType",
3507           "type" : "String",
3508           "desc" : "(optional) 'run' is the default. Can also be 'color', 'motion', or 'scroll'",
3509           "isOptional" : false
3510         }
3511       ],
3512       "returns" : [
3513         {
3514           "name" : "",
3515           "type" : "Roo.Element",
3516           "desc" : "this"
3517         }
3518       ]
3519     },
3520     {
3521       "name" : "enableDisplayMode",
3522       "desc" : "Convenience method for setVisibilityMode(Element.DISPLAY)",
3523       "isStatic" : false,
3524       "isConstructor" : false,
3525       "isPrivate" : false,
3526       "memberOf" : "Roo.Element",
3527       "example" : "",
3528       "deprecated" : "",
3529       "since" : "",
3530       "see" : "",
3531       "params" : [
3532         {
3533           "name" : "display",
3534           "type" : "String",
3535           "desc" : "(optional) What to set display to when visible",
3536           "isOptional" : false
3537         }
3538       ],
3539       "returns" : [
3540         {
3541           "name" : "",
3542           "type" : "Roo.Element",
3543           "desc" : "this"
3544         }
3545       ]
3546     },
3547     {
3548       "name" : "getComputedWidth",
3549       "desc" : "Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders\nwhen needed to simulate offsetWidth when offsets aren't available. This may not work on display:none elements\nif a width has not been set using CSS.",
3550       "isStatic" : false,
3551       "isConstructor" : false,
3552       "isPrivate" : false,
3553       "memberOf" : "Roo.Element",
3554       "example" : "",
3555       "deprecated" : "",
3556       "since" : "",
3557       "see" : "",
3558       "params" : [],
3559       "returns" : [
3560         {
3561           "name" : "",
3562           "type" : "Number",
3563           "desc" : ""
3564         }
3565       ]
3566     },
3567     {
3568       "name" : "clip",
3569       "desc" : "Store the current overflow setting and clip overflow on the element - use {@link #unclip} to remove",
3570       "isStatic" : false,
3571       "isConstructor" : false,
3572       "isPrivate" : false,
3573       "memberOf" : "Roo.Element",
3574       "example" : "",
3575       "deprecated" : "",
3576       "since" : "",
3577       "see" : "",
3578       "params" : [],
3579       "returns" : [
3580         {
3581           "name" : "",
3582           "type" : "Roo.Element",
3583           "desc" : "this"
3584         }
3585       ]
3586     },
3587     {
3588       "name" : "setVisibilityMode",
3589       "desc" : "Sets the element's visibility mode. When setVisible() is called it\nwill use this to determine whether to set the visibility or the display property.",
3590       "isStatic" : false,
3591       "isConstructor" : false,
3592       "isPrivate" : false,
3593       "memberOf" : "Roo.Element",
3594       "example" : "",
3595       "deprecated" : "",
3596       "since" : "",
3597       "see" : "",
3598       "params" : [
3599         {
3600           "name" : "visMode",
3601           "type" : "",
3602           "desc" : "Element.VISIBILITY or Element.DISPLAY",
3603           "isOptional" : false
3604         }
3605       ],
3606       "returns" : [
3607         {
3608           "name" : "",
3609           "type" : "Roo.Element",
3610           "desc" : "this"
3611         }
3612       ]
3613     },
3614     {
3615       "name" : "getColor",
3616       "desc" : "Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values\nare convert to standard 6 digit hex color.",
3617       "isStatic" : false,
3618       "isConstructor" : false,
3619       "isPrivate" : false,
3620       "memberOf" : "Roo.Element",
3621       "example" : "",
3622       "deprecated" : "",
3623       "since" : "",
3624       "see" : "",
3625       "params" : [
3626         {
3627           "name" : "attr",
3628           "type" : "String",
3629           "desc" : "The css attribute",
3630           "isOptional" : false
3631         },
3632         {
3633           "name" : "defaultValue",
3634           "type" : "String",
3635           "desc" : "The default value to use when a valid color isn't found",
3636           "isOptional" : false
3637         },
3638         {
3639           "name" : "prefix",
3640           "type" : "String",
3641           "desc" : "(optional) defaults to #. Use an empty string when working with\nYUI color anims.",
3642           "isOptional" : false
3643         }
3644       ],
3645       "returns" : []
3646     },
3647     {
3648       "name" : "insertSibling",
3649       "desc" : "Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element",
3650       "isStatic" : false,
3651       "isConstructor" : false,
3652       "isPrivate" : false,
3653       "memberOf" : "Roo.Element",
3654       "example" : "",
3655       "deprecated" : "",
3656       "since" : "",
3657       "see" : "",
3658       "params" : [
3659         {
3660           "name" : "el",
3661           "type" : "String/HTMLElement/Element/Object",
3662           "desc" : "The id or element to insert or a DomHelper config to create and insert",
3663           "isOptional" : false
3664         },
3665         {
3666           "name" : "where",
3667           "type" : "String",
3668           "desc" : "(optional) 'before' or 'after' defaults to before",
3669           "isOptional" : false
3670         },
3671         {
3672           "name" : "returnDom",
3673           "type" : "Boolean",
3674           "desc" : "(optional) True to return the raw DOM element instead of Roo.Element",
3675           "isOptional" : false
3676         }
3677       ],
3678       "returns" : [
3679         {
3680           "name" : "",
3681           "type" : "Roo.Element",
3682           "desc" : "the inserted Element"
3683         }
3684       ]
3685     },
3686     {
3687       "name" : "removeListener",
3688       "desc" : "Removes an event handler from this element",
3689       "isStatic" : false,
3690       "isConstructor" : false,
3691       "isPrivate" : false,
3692       "memberOf" : "Roo.Element",
3693       "example" : "",
3694       "deprecated" : "",
3695       "since" : "",
3696       "see" : "",
3697       "params" : [
3698         {
3699           "name" : "eventName",
3700           "type" : "String",
3701           "desc" : "the type of event to remove",
3702           "isOptional" : false
3703         },
3704         {
3705           "name" : "fn",
3706           "type" : "Function",
3707           "desc" : "the method the event invokes",
3708           "isOptional" : false
3709         }
3710       ],
3711       "returns" : [
3712         {
3713           "name" : "",
3714           "type" : "Roo.Element",
3715           "desc" : "this"
3716         }
3717       ]
3718     },
3719     {
3720       "name" : "applyStyles",
3721       "desc" : "More flexible version of {@link #setStyle} for setting style properties.",
3722       "isStatic" : false,
3723       "isConstructor" : false,
3724       "isPrivate" : false,
3725       "memberOf" : "Roo.Element",
3726       "example" : "",
3727       "deprecated" : "",
3728       "since" : "",
3729       "see" : "",
3730       "params" : [
3731         {
3732           "name" : "styles",
3733           "type" : "String/Object/Function",
3734           "desc" : "A style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
3735           "isOptional" : false
3736         }
3737       ],
3738       "returns" : [
3739         {
3740           "name" : "",
3741           "type" : "Roo.Element",
3742           "desc" : "this"
3743         }
3744       ]
3745     },
3746     {
3747       "name" : "getPrevSibling",
3748       "desc" : "Gets the previous sibling, skipping text nodes",
3749       "isStatic" : false,
3750       "isConstructor" : false,
3751       "isPrivate" : false,
3752       "memberOf" : "Roo.Element",
3753       "example" : "",
3754       "deprecated" : "",
3755       "since" : "",
3756       "see" : "",
3757       "params" : [],
3758       "returns" : [
3759         {
3760           "name" : "",
3761           "type" : "HTMLElement",
3762           "desc" : "The previous sibling or null"
3763         }
3764       ]
3765     },
3766     {
3767       "name" : "setBox",
3768       "desc" : "Sets the element's box. Use getBox() on another element to get a box obj. If animate is true then width, height, x and y will be animated concurrently.",
3769       "isStatic" : false,
3770       "isConstructor" : false,
3771       "isPrivate" : false,
3772       "memberOf" : "Roo.Element",
3773       "example" : "",
3774       "deprecated" : "",
3775       "since" : "",
3776       "see" : "",
3777       "params" : [
3778         {
3779           "name" : "box",
3780           "type" : "Object",
3781           "desc" : "The box to fill {x, y, width, height}",
3782           "isOptional" : false
3783         },
3784         {
3785           "name" : "adjust",
3786           "type" : "Boolean",
3787           "desc" : "(optional) Whether to adjust for box-model issues automatically",
3788           "isOptional" : false
3789         },
3790         {
3791           "name" : "animate",
3792           "type" : "Boolean/Object",
3793           "desc" : "(optional) true for the default animation or a standard Element animation config object",
3794           "isOptional" : false
3795         }
3796       ],
3797       "returns" : [
3798         {
3799           "name" : "",
3800           "type" : "Roo.Element",
3801           "desc" : "this"
3802         }
3803       ]
3804     },
3805     {
3806       "name" : "initDDProxy",
3807       "desc" : "Initializes a {@link Roo.dd.DDProxy} object for this element.",
3808       "isStatic" : false,
3809       "isConstructor" : false,
3810       "isPrivate" : false,
3811       "memberOf" : "Roo.Element",
3812       "example" : "",
3813       "deprecated" : "",
3814       "since" : "",
3815       "see" : "",
3816       "params" : [
3817         {
3818           "name" : "group",
3819           "type" : "String",
3820           "desc" : "The group the DDProxy object is member of",
3821           "isOptional" : false
3822         },
3823         {
3824           "name" : "config",
3825           "type" : "Object",
3826           "desc" : "The DDProxy config object",
3827           "isOptional" : false
3828         },
3829         {
3830           "name" : "overrides",
3831           "type" : "Object",
3832           "desc" : "An object containing methods to override/implement on the DDProxy object",
3833           "isOptional" : false
3834         }
3835       ],
3836       "returns" : [
3837         {
3838           "name" : "",
3839           "type" : "Roo.dd.DDProxy",
3840           "desc" : "The DDProxy object"
3841         }
3842       ]
3843     },
3844     {
3845       "name" : "setX",
3846       "desc" : "Sets the X position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
3847       "isStatic" : false,
3848       "isConstructor" : false,
3849       "isPrivate" : false,
3850       "memberOf" : "Roo.Element",
3851       "example" : "",
3852       "deprecated" : "",
3853       "since" : "",
3854       "see" : "",
3855       "params" : [
3856         {
3857           "name" : "The",
3858           "type" : "Number",
3859           "desc" : "X position of the element",
3860           "isOptional" : false
3861         },
3862         {
3863           "name" : "animate",
3864           "type" : "Boolean/Object",
3865           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
3866           "isOptional" : false
3867         }
3868       ],
3869       "returns" : [
3870         {
3871           "name" : "",
3872           "type" : "Roo.Element",
3873           "desc" : "this"
3874         }
3875       ]
3876     },
3877     {
3878       "name" : "setY",
3879       "desc" : "Sets the Y position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
3880       "isStatic" : false,
3881       "isConstructor" : false,
3882       "isPrivate" : false,
3883       "memberOf" : "Roo.Element",
3884       "example" : "",
3885       "deprecated" : "",
3886       "since" : "",
3887       "see" : "",
3888       "params" : [
3889         {
3890           "name" : "The",
3891           "type" : "Number",
3892           "desc" : "Y position of the element",
3893           "isOptional" : false
3894         },
3895         {
3896           "name" : "animate",
3897           "type" : "Boolean/Object",
3898           "desc" : "(optional) True for the default animation, or a standard Element animation config object",
3899           "isOptional" : false
3900         }
3901       ],
3902       "returns" : [
3903         {
3904           "name" : "",
3905           "type" : "Roo.Element",
3906           "desc" : "this"
3907         }
3908       ]
3909     },
3910     {
3911       "name" : "query",
3912       "desc" : "Selects child nodes based on the passed CSS selector (the selector should not contain an id).",
3913       "isStatic" : false,
3914       "isConstructor" : false,
3915       "isPrivate" : false,
3916       "memberOf" : "Roo.Element",
3917       "example" : "",
3918       "deprecated" : "",
3919       "since" : "",
3920       "see" : "",
3921       "params" : [
3922         {
3923           "name" : "selector",
3924           "type" : "String",
3925           "desc" : "The CSS selector",
3926           "isOptional" : false
3927         }
3928       ],
3929       "returns" : [
3930         {
3931           "name" : "",
3932           "type" : "Array",
3933           "desc" : "An array of the matched nodes"
3934         }
3935       ]
3936     },
3937     {
3938       "name" : "getAnchorXY",
3939       "desc" : "Gets the x,y coordinates specified by the anchor position on the element.",
3940       "isStatic" : false,
3941       "isConstructor" : false,
3942       "isPrivate" : false,
3943       "memberOf" : "Roo.Element",
3944       "example" : "",
3945       "deprecated" : "",
3946       "since" : "",
3947       "see" : "",
3948       "params" : [
3949         {
3950           "name" : "anchor",
3951           "type" : "String",
3952           "desc" : "(optional) The specified anchor position (defaults to \"c\").  See {@link #alignTo} for details on supported anchor positions.",
3953           "isOptional" : false
3954         },
3955         {
3956           "name" : "size",
3957           "type" : "Object",
3958           "desc" : "(optional) An object containing the size to use for calculating anchor position\n                      {width: (target width), height: (target height)} (defaults to the element's current size)",
3959           "isOptional" : false
3960         },
3961         {
3962           "name" : "local",
3963           "type" : "Boolean",
3964           "desc" : "(optional) True to get the local (element top/left-relative) anchor position instead of page coordinates",
3965           "isOptional" : false
3966         }
3967       ],
3968       "returns" : [
3969         {
3970           "name" : "",
3971           "type" : "Array",
3972           "desc" : "[x, y] An array containing the element's x and y coordinates"
3973         }
3974       ]
3975     },
3976     {
3977       "name" : "initDD",
3978       "desc" : "Initializes a {@link Roo.dd.DD} drag drop object for this element.",
3979       "isStatic" : false,
3980       "isConstructor" : false,
3981       "isPrivate" : false,
3982       "memberOf" : "Roo.Element",
3983       "example" : "",
3984       "deprecated" : "",
3985       "since" : "",
3986       "see" : "",
3987       "params" : [
3988         {
3989           "name" : "group",
3990           "type" : "String",
3991           "desc" : "The group the DD object is member of",
3992           "isOptional" : false
3993         },
3994         {
3995           "name" : "config",
3996           "type" : "Object",
3997           "desc" : "The DD config object",
3998           "isOptional" : false
3999         },
4000         {
4001           "name" : "overrides",
4002           "type" : "Object",
4003           "desc" : "An object containing methods to override/implement on the DD object",
4004           "isOptional" : false
4005         }
4006       ],
4007       "returns" : [
4008         {
4009           "name" : "",
4010           "type" : "Roo.dd.DD",
4011           "desc" : "The DD object"
4012         }
4013       ]
4014     },
4015     {
4016       "name" : "getComputedHeight",
4017       "desc" : "Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders\nwhen needed to simulate offsetHeight when offsets aren't available. This may not work on display:none elements\nif a height has not been set using CSS.",
4018       "isStatic" : false,
4019       "isConstructor" : false,
4020       "isPrivate" : false,
4021       "memberOf" : "Roo.Element",
4022       "example" : "",
4023       "deprecated" : "",
4024       "since" : "",
4025       "see" : "",
4026       "params" : [],
4027       "returns" : [
4028         {
4029           "name" : "",
4030           "type" : "Number",
4031           "desc" : ""
4032         }
4033       ]
4034     },
4035     {
4036       "name" : "is",
4037       "desc" : "Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)",
4038       "isStatic" : false,
4039       "isConstructor" : false,
4040       "isPrivate" : false,
4041       "memberOf" : "Roo.Element",
4042       "example" : "",
4043       "deprecated" : "",
4044       "since" : "",
4045       "see" : "",
4046       "params" : [
4047         {
4048           "name" : "selector",
4049           "type" : "String",
4050           "desc" : "The simple selector to test",
4051           "isOptional" : false
4052         }
4053       ],
4054       "returns" : [
4055         {
4056           "name" : "",
4057           "type" : "Boolean",
4058           "desc" : "True if this element matches the selector, else false"
4059         }
4060       ]
4061     },
4062     {
4063       "name" : "move",
4064       "desc" : "Move this element relative to its current position.",
4065       "isStatic" : false,
4066       "isConstructor" : false,
4067       "isPrivate" : false,
4068       "memberOf" : "Roo.Element",
4069       "example" : "",
4070       "deprecated" : "",
4071       "since" : "",
4072       "see" : "",
4073       "params" : [
4074         {
4075           "name" : "direction",
4076           "type" : "String",
4077           "desc" : "Possible values are: \"l\",\"left\" - \"r\",\"right\" - \"t\",\"top\",\"up\" - \"b\",\"bottom\",\"down\".",
4078           "isOptional" : false
4079         },
4080         {
4081           "name" : "distance",
4082           "type" : "Number",
4083           "desc" : "How far to move the element in pixels",
4084           "isOptional" : false
4085         },
4086         {
4087           "name" : "animate",
4088           "type" : "Boolean/Object",
4089           "desc" : "(optional) true for the default animation or a standard Element animation config object",
4090           "isOptional" : false
4091         }
4092       ],
4093       "returns" : [
4094         {
4095           "name" : "",
4096           "type" : "Roo.Element",
4097           "desc" : "this"
4098         }
4099       ]
4100     },
4101     {
4102       "name" : "remove",
4103       "desc" : "Removes this element from the DOM and deletes it from the cache",
4104       "isStatic" : false,
4105       "isConstructor" : false,
4106       "isPrivate" : false,
4107       "memberOf" : "Roo.Element",
4108       "example" : "",
4109       "deprecated" : "",
4110       "since" : "",
4111       "see" : "",
4112       "params" : [],
4113       "returns" : []
4114     },
4115     {
4116       "name" : "getNextSibling",
4117       "desc" : "Gets the next sibling, skipping text nodes",
4118       "isStatic" : false,
4119       "isConstructor" : false,
4120       "isPrivate" : false,
4121       "memberOf" : "Roo.Element",
4122       "example" : "",
4123       "deprecated" : "",
4124       "since" : "",
4125       "see" : "",
4126       "params" : [],
4127       "returns" : [
4128         {
4129           "name" : "",
4130           "type" : "HTMLElement",
4131           "desc" : "The next sibling or null"
4132         }
4133       ]
4134     },
4135     {
4136       "name" : "getStyle",
4137       "desc" : "Normalizes currentStyle and computedStyle. This is not YUI getStyle, it is an optimised version.",
4138       "isStatic" : false,
4139       "isConstructor" : false,
4140       "isPrivate" : false,
4141       "memberOf" : "Roo.Element",
4142       "example" : "",
4143       "deprecated" : "",
4144       "since" : "",
4145       "see" : "",
4146       "params" : [
4147         {
4148           "name" : "property",
4149           "type" : "String",
4150           "desc" : "The style property whose value is returned.",
4151           "isOptional" : false
4152         }
4153       ],
4154       "returns" : [
4155         {
4156           "name" : "",
4157           "type" : "String",
4158           "desc" : "The current value of the style property for this element."
4159         }
4160       ]
4161     },
4162     {
4163       "name" : "isBorderBox",
4164       "desc" : "Tests various css rules/browsers to determine if this element uses a border box",
4165       "isStatic" : false,
4166       "isConstructor" : false,
4167       "isPrivate" : false,
4168       "memberOf" : "Roo.Element",
4169       "example" : "",
4170       "deprecated" : "",
4171       "since" : "",
4172       "see" : "",
4173       "params" : [],
4174       "returns" : [
4175         {
4176           "name" : "",
4177           "type" : "Boolean",
4178           "desc" : ""
4179         }
4180       ]
4181     },
4182     {
4183       "name" : "getPadding",
4184       "desc" : "Gets the width of the padding(s) for the specified side(s)",
4185       "isStatic" : false,
4186       "isConstructor" : false,
4187       "isPrivate" : false,
4188       "memberOf" : "Roo.Element",
4189       "example" : "",
4190       "deprecated" : "",
4191       "since" : "",
4192       "see" : "",
4193       "params" : [
4194         {
4195           "name" : "side",
4196           "type" : "String",
4197           "desc" : "Can be t, l, r, b or any combination of those to add multiple values. For example,\npassing lr would get the padding (l)eft + the padding (r)ight.",
4198           "isOptional" : false
4199         }
4200       ],
4201       "returns" : [
4202         {
4203           "name" : "",
4204           "type" : "Number",
4205           "desc" : "The padding of the sides passed added together"
4206         }
4207       ]
4208     }
4209   ],
4210   "events" : []
4211 }