fix docs add optvalues
[roojs1] / docs / symbols / Roo.json
1 {
2   "name" : "Roo",
3   "augments" : [],
4   "childClasses" : {  },
5   "tree_children" : [],
6   "tree_parent" : [],
7   "desc" : "Roo core utilities and functions.",
8   "isSingleton" : false,
9   "isStatic" : true,
10   "isBuiltin" : false,
11   "isAbstract" : false,
12   "isBuilderTop" : false,
13   "memberOf" : "Roo",
14   "example" : "",
15   "deprecated" : "",
16   "since" : "",
17   "see" : "",
18   "params" : [],
19   "returns" : [],
20   "throws" : "",
21   "requires" : "",
22   "config" : [
23     {
24       "name" : "grid",
25       "type" : "Roo.grid.Grid",
26       "desc" : "The grid for this panel",
27       "memberOf" : "",
28       "isOptional" : false,
29       "optvalues" : []
30     },
31     {
32       "name" : "layout",
33       "type" : "Roo.BorderLayout",
34       "desc" : "The layout for this panel",
35       "memberOf" : "",
36       "isOptional" : false,
37       "optvalues" : []
38     }
39   ],
40   "methods" : [
41     {
42       "name" : "each",
43       "type" : "function",
44       "desc" : "Iterates an array calling the passed function with each item, stopping if your function returns false. If the\npassed array is not really an array, your function is called once with it.\nThe supplied function is called with (Object item, Number index, Array allItems).",
45       "sig" : "(array, fn, scope)",
46       "static" : true,
47       "memberOf" : "",
48       "isStatic" : true,
49       "isConstructor" : false,
50       "isPrivate" : false,
51       "example" : "",
52       "deprecated" : "",
53       "since" : "",
54       "see" : "",
55       "exceptions" : "",
56       "requires" : "",
57       "params" : [
58         {
59           "name" : "array",
60           "type" : "Array/NodeList/Mixed",
61           "desc" : "",
62           "isOptional" : false
63         },
64         {
65           "name" : "fn",
66           "type" : "Function",
67           "desc" : "",
68           "isOptional" : false
69         },
70         {
71           "name" : "scope",
72           "type" : "Object",
73           "desc" : "",
74           "isOptional" : false
75         }
76       ],
77       "returns" : []
78     },
79     {
80       "name" : "get",
81       "type" : "function",
82       "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.\nShorthand of {@link Roo.Element#get}",
83       "sig" : "(el)",
84       "static" : true,
85       "memberOf" : "",
86       "isStatic" : true,
87       "isConstructor" : false,
88       "isPrivate" : false,
89       "example" : "",
90       "deprecated" : "",
91       "since" : "",
92       "see" : "",
93       "exceptions" : "",
94       "requires" : "",
95       "params" : [
96         {
97           "name" : "el",
98           "type" : "String/HTMLElement/Element",
99           "desc" : "The id of the node, a DOM Node or an existing Element.",
100           "isOptional" : false
101         }
102       ],
103       "returns" : [
104         {
105           "name" : "",
106           "type" : "Element",
107           "desc" : "The Element object"
108         }
109       ]
110     },
111     {
112       "name" : "decode",
113       "type" : "function",
114       "desc" : "Shorthand for {@link Roo.util.JSON#decode}",
115       "sig" : "()\n{\n\n}",
116       "static" : true,
117       "memberOf" : "",
118       "isStatic" : true,
119       "isConstructor" : false,
120       "isPrivate" : false,
121       "example" : "",
122       "deprecated" : "",
123       "since" : "",
124       "see" : "",
125       "exceptions" : "",
126       "requires" : "",
127       "params" : [],
128       "returns" : []
129     },
130     {
131       "name" : "getDom",
132       "type" : "function",
133       "desc" : "Return the dom node for the passed string (id), dom node, or Roo.Element",
134       "sig" : "(el)",
135       "static" : true,
136       "memberOf" : "",
137       "isStatic" : true,
138       "isConstructor" : false,
139       "isPrivate" : false,
140       "example" : "",
141       "deprecated" : "",
142       "since" : "",
143       "see" : "",
144       "exceptions" : "",
145       "requires" : "",
146       "params" : [
147         {
148           "name" : "el",
149           "type" : "String/HTMLElement/Roo.Element",
150           "desc" : "",
151           "isOptional" : false
152         }
153       ],
154       "returns" : [
155         {
156           "name" : "",
157           "type" : "",
158           "desc" : "HTMLElement"
159         }
160       ]
161     },
162     {
163       "name" : "urlEncode",
164       "type" : "function",
165       "desc" : "Takes an object and converts it to an encoded URL. e.g. Roo.urlEncode({foo: 1, bar: 2}); would return \"foo=1&bar=2\".  Optionally, property values can be arrays, instead of keys and the resulting string that's returned will contain a name/value pair for each array value.",
166       "sig" : "(o)",
167       "static" : true,
168       "memberOf" : "",
169       "isStatic" : true,
170       "isConstructor" : false,
171       "isPrivate" : false,
172       "example" : "",
173       "deprecated" : "",
174       "since" : "",
175       "see" : "",
176       "exceptions" : "",
177       "requires" : "",
178       "params" : [
179         {
180           "name" : "o",
181           "type" : "Object",
182           "desc" : "",
183           "isOptional" : false
184         }
185       ],
186       "returns" : [
187         {
188           "name" : "",
189           "type" : "String",
190           "desc" : ""
191         }
192       ]
193     },
194     {
195       "name" : "log",
196       "type" : "function",
197       "desc" : "Logs to console if it can.",
198       "sig" : "(string)",
199       "static" : true,
200       "memberOf" : "",
201       "isStatic" : true,
202       "isConstructor" : false,
203       "isPrivate" : false,
204       "example" : "",
205       "deprecated" : "",
206       "since" : "",
207       "see" : "",
208       "exceptions" : "",
209       "requires" : "",
210       "params" : [
211         {
212           "name" : "string",
213           "type" : "String|Object",
214           "desc" : "",
215           "isOptional" : false
216         }
217       ],
218       "returns" : []
219     },
220     {
221       "name" : "addBehaviors",
222       "type" : "function",
223       "desc" : "Applies event listeners to elements by selectors when the document is ready.\nThe event name is specified with an @ suffix.\n<pre><code>\nRoo.addBehaviors({\n   // add a listener for click on all anchors in element with id foo\n   '#foo a@click' : function(e, t){\n       // do something\n   },\n\n   // add the same listener to multiple selectors (separated by comma BEFORE the @)\n   '#foo a, #bar span.some-class@mouseover' : function(){\n       // do something\n   }\n});\n</code></pre>",
224       "sig" : "(obj)",
225       "static" : true,
226       "memberOf" : "",
227       "isStatic" : true,
228       "isConstructor" : false,
229       "isPrivate" : false,
230       "example" : "",
231       "deprecated" : "",
232       "since" : "",
233       "see" : "",
234       "exceptions" : "",
235       "requires" : "",
236       "params" : [
237         {
238           "name" : "obj",
239           "type" : "Object",
240           "desc" : "The list of behaviors to apply",
241           "isOptional" : false
242         }
243       ],
244       "returns" : []
245     },
246     {
247       "name" : "getGridSize",
248       "type" : "function",
249       "desc" : "Find the current bootstrap width Grid size\nNote xs is the default for smaller.. - this is currently used by grids to render correct columns",
250       "sig" : "()\n{\n\n}",
251       "static" : true,
252       "memberOf" : "",
253       "isStatic" : true,
254       "isConstructor" : false,
255       "isPrivate" : false,
256       "example" : "",
257       "deprecated" : "",
258       "since" : "",
259       "see" : "",
260       "exceptions" : "",
261       "requires" : "",
262       "params" : [],
263       "returns" : []
264     },
265     {
266       "name" : "factory",
267       "type" : "function",
268       "desc" : "Creates namespaces to be used for scoping variables and classes so that they are not global.  Usage:\n<pre><code>\nRoo.factory({ xns: Roo.data, xtype : 'Store', .....});\nRoo.factory(conf, Roo.data);\n</code></pre>",
269       "sig" : "(classname, namespace)",
270       "static" : true,
271       "memberOf" : "",
272       "isStatic" : true,
273       "isConstructor" : false,
274       "isPrivate" : false,
275       "example" : "",
276       "deprecated" : "",
277       "since" : "",
278       "see" : "",
279       "exceptions" : "",
280       "requires" : "",
281       "params" : [
282         {
283           "name" : "classname",
284           "type" : "String",
285           "desc" : "",
286           "isOptional" : false
287         },
288         {
289           "name" : "namespace",
290           "type" : "String",
291           "desc" : "(optional)",
292           "isOptional" : false
293         }
294       ],
295       "returns" : []
296     },
297     {
298       "name" : "apply",
299       "type" : "function",
300       "desc" : "Copies all the properties of config to obj.",
301       "sig" : "(obj, config, defaults)",
302       "static" : true,
303       "memberOf" : "",
304       "isStatic" : true,
305       "isConstructor" : false,
306       "isPrivate" : false,
307       "example" : "",
308       "deprecated" : "",
309       "since" : "",
310       "see" : "",
311       "exceptions" : "",
312       "requires" : "",
313       "params" : [
314         {
315           "name" : "obj",
316           "type" : "Object",
317           "desc" : "The receiver of the properties",
318           "isOptional" : false
319         },
320         {
321           "name" : "config",
322           "type" : "Object",
323           "desc" : "The source of the properties",
324           "isOptional" : false
325         },
326         {
327           "name" : "defaults",
328           "type" : "Object",
329           "desc" : "A different object that will also be applied for default values",
330           "isOptional" : false
331         }
332       ],
333       "returns" : [
334         {
335           "name" : "",
336           "type" : "Object",
337           "desc" : "returns obj"
338         }
339       ]
340     },
341     {
342       "name" : "onReady",
343       "type" : "function",
344       "desc" : "Fires when the document is ready (before onload and before images are loaded).  Shorthand of {@link Roo.EventManager#onDocumentReady}.",
345       "sig" : "(fn, scope, override)",
346       "static" : true,
347       "memberOf" : "",
348       "isStatic" : true,
349       "isConstructor" : false,
350       "isPrivate" : false,
351       "example" : "",
352       "deprecated" : "",
353       "since" : "",
354       "see" : "",
355       "exceptions" : "",
356       "requires" : "",
357       "params" : [
358         {
359           "name" : "fn",
360           "type" : "Function",
361           "desc" : "The method the event invokes",
362           "isOptional" : false
363         },
364         {
365           "name" : "scope",
366           "type" : "Object",
367           "desc" : "An  object that becomes the scope of the handler",
368           "isOptional" : false
369         },
370         {
371           "name" : "override",
372           "type" : "boolean",
373           "desc" : "If true, the obj passed in becomes\n                            the execution scope of the listener",
374           "isOptional" : false
375         }
376       ],
377       "returns" : []
378     },
379     {
380       "name" : "select",
381       "type" : "function",
382       "desc" : "Selects elements based on the passed CSS selector to enable working on them as 1.",
383       "sig" : "(selector, unique, root)",
384       "static" : true,
385       "memberOf" : "",
386       "isStatic" : true,
387       "isConstructor" : false,
388       "isPrivate" : false,
389       "example" : "",
390       "deprecated" : "",
391       "since" : "",
392       "see" : "",
393       "exceptions" : "",
394       "requires" : "",
395       "params" : [
396         {
397           "name" : "selector",
398           "type" : "String/Array",
399           "desc" : "The CSS selector or an array of elements",
400           "isOptional" : false
401         },
402         {
403           "name" : "unique",
404           "type" : "Boolean",
405           "desc" : "(optional) true to create a unique Roo.Element for each element (defaults to a shared flyweight object)",
406           "isOptional" : false
407         },
408         {
409           "name" : "root",
410           "type" : "HTMLElement/String",
411           "desc" : "(optional) The root element of the query or id of the root",
412           "isOptional" : false
413         }
414       ],
415       "returns" : [
416         {
417           "name" : "",
418           "type" : "CompositeElementLite/CompositeElement",
419           "desc" : ""
420         }
421       ]
422     },
423     {
424       "name" : "applyIf",
425       "type" : "function",
426       "desc" : "Copies all the properties of config to obj if they don't already exist.",
427       "sig" : "(obj, config)",
428       "static" : true,
429       "memberOf" : "",
430       "isStatic" : true,
431       "isConstructor" : false,
432       "isPrivate" : false,
433       "example" : "",
434       "deprecated" : "",
435       "since" : "",
436       "see" : "",
437       "exceptions" : "",
438       "requires" : "",
439       "params" : [
440         {
441           "name" : "obj",
442           "type" : "Object",
443           "desc" : "The receiver of the properties",
444           "isOptional" : false
445         },
446         {
447           "name" : "config",
448           "type" : "Object",
449           "desc" : "The source of the properties",
450           "isOptional" : false
451         }
452       ],
453       "returns" : [
454         {
455           "name" : "",
456           "type" : "Object",
457           "desc" : "returns obj"
458         }
459       ]
460     },
461     {
462       "name" : "getCmp",
463       "type" : "function",
464       "desc" : "Shorthand for {@link Roo.ComponentMgr#get}",
465       "sig" : "(id)",
466       "static" : true,
467       "memberOf" : "",
468       "isStatic" : true,
469       "isConstructor" : false,
470       "isPrivate" : false,
471       "example" : "",
472       "deprecated" : "",
473       "since" : "",
474       "see" : "",
475       "exceptions" : "",
476       "requires" : "",
477       "params" : [
478         {
479           "name" : "id",
480           "type" : "String",
481           "desc" : "",
482           "isOptional" : false
483         }
484       ],
485       "returns" : [
486         {
487           "name" : "",
488           "type" : "",
489           "desc" : "Roo.Component"
490         }
491       ]
492     },
493     {
494       "name" : "id",
495       "type" : "function",
496       "desc" : "Generates unique ids. If the element already has an id, it is unchanged",
497       "sig" : "(el, prefix)",
498       "static" : true,
499       "memberOf" : "",
500       "isStatic" : true,
501       "isConstructor" : false,
502       "isPrivate" : false,
503       "example" : "",
504       "deprecated" : "",
505       "since" : "",
506       "see" : "",
507       "exceptions" : "",
508       "requires" : "",
509       "params" : [
510         {
511           "name" : "el",
512           "type" : "String/HTMLElement/Element",
513           "desc" : "(optional) The element to generate an id for",
514           "isOptional" : false
515         },
516         {
517           "name" : "prefix",
518           "type" : "String",
519           "desc" : "(optional) Id prefix (defaults \"Roo-gen\")",
520           "isOptional" : false
521         }
522       ],
523       "returns" : [
524         {
525           "name" : "",
526           "type" : "String",
527           "desc" : "The generated Id."
528         }
529       ]
530     },
531     {
532       "name" : "encodeURIComponent",
533       "type" : "function",
534       "desc" : "Safe version of encodeURIComponent",
535       "sig" : "(data)",
536       "static" : true,
537       "memberOf" : "",
538       "isStatic" : true,
539       "isConstructor" : false,
540       "isPrivate" : false,
541       "example" : "",
542       "deprecated" : "",
543       "since" : "",
544       "see" : "",
545       "exceptions" : "",
546       "requires" : "",
547       "params" : [
548         {
549           "name" : "data",
550           "type" : "String",
551           "desc" : "",
552           "isOptional" : false
553         }
554       ],
555       "returns" : [
556         {
557           "name" : "",
558           "type" : "String",
559           "desc" : ""
560         }
561       ]
562     },
563     {
564       "name" : "encode",
565       "type" : "function",
566       "desc" : "Shorthand for {@link Roo.util.JSON#encode}",
567       "sig" : "()\n{\n\n}",
568       "static" : true,
569       "memberOf" : "",
570       "isStatic" : true,
571       "isConstructor" : false,
572       "isPrivate" : false,
573       "example" : "",
574       "deprecated" : "",
575       "since" : "",
576       "see" : "",
577       "exceptions" : "",
578       "requires" : "",
579       "params" : [],
580       "returns" : []
581     },
582     {
583       "name" : "fly",
584       "type" : "function",
585       "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.\nShorthand of {@link Roo.Element#fly}",
586       "sig" : "(el, named)",
587       "static" : true,
588       "memberOf" : "",
589       "isStatic" : true,
590       "isConstructor" : false,
591       "isPrivate" : false,
592       "example" : "",
593       "deprecated" : "",
594       "since" : "",
595       "see" : "",
596       "exceptions" : "",
597       "requires" : "",
598       "params" : [
599         {
600           "name" : "el",
601           "type" : "String/HTMLElement",
602           "desc" : "The dom node or id",
603           "isOptional" : false
604         },
605         {
606           "name" : "named",
607           "type" : "String",
608           "desc" : "(optional) Allows for creation of named reusable flyweights to\n                                 prevent conflicts (e.g. internally Roo uses \"_internal\")",
609           "isOptional" : false
610         }
611       ],
612       "returns" : [
613         {
614           "name" : "",
615           "type" : "Element",
616           "desc" : "The shared Element object"
617         }
618       ]
619     },
620     {
621       "name" : "isEmpty",
622       "type" : "function",
623       "desc" : "Returns true if the passed value is null, undefined or an empty string (optional).",
624       "sig" : "(value, allowBlank)",
625       "static" : true,
626       "memberOf" : "",
627       "isStatic" : true,
628       "isConstructor" : false,
629       "isPrivate" : false,
630       "example" : "",
631       "deprecated" : "",
632       "since" : "",
633       "see" : "",
634       "exceptions" : "",
635       "requires" : "",
636       "params" : [
637         {
638           "name" : "value",
639           "type" : "Mixed",
640           "desc" : "The value to test",
641           "isOptional" : false
642         },
643         {
644           "name" : "allowBlank",
645           "type" : "Boolean",
646           "desc" : "(optional) Pass true if an empty string is not considered empty",
647           "isOptional" : false
648         }
649       ],
650       "returns" : [
651         {
652           "name" : "",
653           "type" : "Boolean",
654           "desc" : ""
655         }
656       ]
657     },
658     {
659       "name" : "query",
660       "type" : "function",
661       "desc" : "Selects an array of DOM nodes by CSS/XPath selector. Shorthand of {@link Roo.DomQuery#select}",
662       "sig" : "(path, root)",
663       "static" : true,
664       "memberOf" : "",
665       "isStatic" : true,
666       "isConstructor" : false,
667       "isPrivate" : false,
668       "example" : "",
669       "deprecated" : "",
670       "since" : "",
671       "see" : "",
672       "exceptions" : "",
673       "requires" : "",
674       "params" : [
675         {
676           "name" : "path",
677           "type" : "String",
678           "desc" : "The selector/xpath query",
679           "isOptional" : false
680         },
681         {
682           "name" : "root",
683           "type" : "Node",
684           "desc" : "(optional) The start of the query (defaults to document).",
685           "isOptional" : false
686         }
687       ],
688       "returns" : [
689         {
690           "name" : "",
691           "type" : "Array",
692           "desc" : ""
693         }
694       ]
695     },
696     {
697       "name" : "urlDecode",
698       "type" : "function",
699       "desc" : "Takes an encoded URL and and converts it to an object. e.g. Roo.urlDecode(\"foo=1&bar=2\"); would return {foo: 1, bar: 2} or Roo.urlDecode(\"foo=1&bar=2&bar=3&bar=4\", true); would return {foo: 1, bar: [2, 3, 4]}.",
700       "sig" : "(string, overwrite)",
701       "static" : true,
702       "memberOf" : "",
703       "isStatic" : true,
704       "isConstructor" : false,
705       "isPrivate" : false,
706       "example" : "",
707       "deprecated" : "",
708       "since" : "",
709       "see" : "",
710       "exceptions" : "",
711       "requires" : "",
712       "params" : [
713         {
714           "name" : "string",
715           "type" : "String",
716           "desc" : "",
717           "isOptional" : false
718         },
719         {
720           "name" : "overwrite",
721           "type" : "Boolean",
722           "desc" : "(optional) Items of the same name will overwrite previous values instead of creating an an array (Defaults to false).",
723           "isOptional" : false
724         }
725       ],
726       "returns" : [
727         {
728           "name" : "",
729           "type" : "Object",
730           "desc" : "A literal with members"
731         }
732       ]
733     },
734     {
735       "name" : "escapeRe",
736       "type" : "function",
737       "desc" : "Escapes the passed string for use in a regular expression",
738       "sig" : "(str)",
739       "static" : true,
740       "memberOf" : "",
741       "isStatic" : true,
742       "isConstructor" : false,
743       "isPrivate" : false,
744       "example" : "",
745       "deprecated" : "",
746       "since" : "",
747       "see" : "",
748       "exceptions" : "",
749       "requires" : "",
750       "params" : [
751         {
752           "name" : "str",
753           "type" : "String",
754           "desc" : "",
755           "isOptional" : false
756         }
757       ],
758       "returns" : [
759         {
760           "name" : "",
761           "type" : "String",
762           "desc" : ""
763         }
764       ]
765     },
766     {
767       "name" : "extend",
768       "type" : "function",
769       "desc" : "Extends one class with another class and optionally overrides members with the passed literal. This class\nalso adds the function \"override()\" to the class that can be used to override\nmembers on an instance.",
770       "sig" : "(subclass, superclass, overrides)",
771       "static" : true,
772       "memberOf" : "",
773       "isStatic" : true,
774       "isConstructor" : false,
775       "isPrivate" : false,
776       "example" : "",
777       "deprecated" : "",
778       "since" : "",
779       "see" : "",
780       "exceptions" : "",
781       "requires" : "",
782       "params" : [
783         {
784           "name" : "subclass",
785           "type" : "Object",
786           "desc" : "The class inheriting the functionality",
787           "isOptional" : false
788         },
789         {
790           "name" : "superclass",
791           "type" : "Object",
792           "desc" : "The class being extended",
793           "isOptional" : false
794         },
795         {
796           "name" : "overrides",
797           "type" : "Object",
798           "desc" : "(optional) A literal with members",
799           "isOptional" : false
800         }
801       ],
802       "returns" : []
803     },
804     {
805       "name" : "namespace",
806       "type" : "function",
807       "desc" : "Creates namespaces to be used for scoping variables and classes so that they are not global.  Usage:\n<pre><code>\nRoo.namespace('Company', 'Company.data');\nCompany.Widget = function() { ... }\nCompany.data.CustomStore = function(config) { ... }\n</code></pre>",
808       "sig" : "(namespace1, namespace2, etc)",
809       "static" : true,
810       "memberOf" : "",
811       "isStatic" : true,
812       "isConstructor" : false,
813       "isPrivate" : false,
814       "example" : "",
815       "deprecated" : "",
816       "since" : "",
817       "see" : "",
818       "exceptions" : "",
819       "requires" : "",
820       "params" : [
821         {
822           "name" : "namespace1",
823           "type" : "String",
824           "desc" : "",
825           "isOptional" : false
826         },
827         {
828           "name" : "namespace2",
829           "type" : "String",
830           "desc" : "",
831           "isOptional" : false
832         },
833         {
834           "name" : "etc",
835           "type" : "String",
836           "desc" : "",
837           "isOptional" : false
838         }
839       ],
840       "returns" : []
841     },
842     {
843       "name" : "override",
844       "type" : "function",
845       "desc" : "Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.\nUsage:<pre><code>\nRoo.override(MyClass, {\n    newMethod1: function(){\n        // etc.\n    },\n    newMethod2: function(foo){\n        // etc.\n    }\n});\n </code></pre>",
846       "sig" : "(origclass, overrides)",
847       "static" : true,
848       "memberOf" : "",
849       "isStatic" : true,
850       "isConstructor" : false,
851       "isPrivate" : false,
852       "example" : "",
853       "deprecated" : "",
854       "since" : "",
855       "see" : "",
856       "exceptions" : "",
857       "requires" : "",
858       "params" : [
859         {
860           "name" : "origclass",
861           "type" : "Object",
862           "desc" : "The class to override",
863           "isOptional" : false
864         },
865         {
866           "name" : "overrides",
867           "type" : "Object",
868           "desc" : "The list of functions to add to origClass.  This should be specified as an object literal\ncontaining one or more methods.",
869           "isOptional" : false
870         }
871       ],
872       "returns" : []
873     },
874     {
875       "name" : "selectNode",
876       "type" : "function",
877       "desc" : "Selects a single element as a Roo Element\nThis is about as close as you can get to jQuery's $('do crazy stuff')",
878       "sig" : "(selector, root)",
879       "static" : true,
880       "memberOf" : "",
881       "isStatic" : true,
882       "isConstructor" : false,
883       "isPrivate" : false,
884       "example" : "",
885       "deprecated" : "",
886       "since" : "",
887       "see" : "",
888       "exceptions" : "",
889       "requires" : "",
890       "params" : [
891         {
892           "name" : "selector",
893           "type" : "String",
894           "desc" : "The selector/xpath query",
895           "isOptional" : false
896         },
897         {
898           "name" : "root",
899           "type" : "Node",
900           "desc" : "(optional) The start of the query (defaults to document).",
901           "isOptional" : false
902         }
903       ],
904       "returns" : [
905         {
906           "name" : "",
907           "type" : "Roo.Element",
908           "desc" : ""
909         }
910       ]
911     },
912     {
913       "name" : "type",
914       "type" : "function",
915       "desc" : "Returns the type of object that is passed in. If the object passed in is null or undefined it\nreturn false otherwise it returns one of the following values:<ul>\n<li><b>string</b>: If the object passed is a string</li>\n<li><b>number</b>: If the object passed is a number</li>\n<li><b>boolean</b>: If the object passed is a boolean value</li>\n<li><b>function</b>: If the object passed is a function reference</li>\n<li><b>object</b>: If the object passed is an object</li>\n<li><b>array</b>: If the object passed is an array</li>\n<li><b>regexp</b>: If the object passed is a regular expression</li>\n<li><b>element</b>: If the object passed is a DOM Element</li>\n<li><b>nodelist</b>: If the object passed is a DOM NodeList</li>\n<li><b>textnode</b>: If the object passed is a DOM text node and contains something other than whitespace</li>\n<li><b>whitespace</b>: If the object passed is a DOM text node and contains only whitespace</li>",
916       "sig" : "(object)",
917       "static" : true,
918       "memberOf" : "",
919       "isStatic" : true,
920       "isConstructor" : false,
921       "isPrivate" : false,
922       "example" : "",
923       "deprecated" : "",
924       "since" : "",
925       "see" : "",
926       "exceptions" : "",
927       "requires" : "",
928       "params" : [
929         {
930           "name" : "object",
931           "type" : "Mixed",
932           "desc" : "",
933           "isOptional" : false
934         }
935       ],
936       "returns" : [
937         {
938           "name" : "",
939           "type" : "String",
940           "desc" : ""
941         }
942       ]
943     }
944   ],
945   "events" : []
946 }