X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsymbols%2FRoo.DomQuery.json;fp=docs%2Fsymbols%2FRoo.DomQuery.json;h=7fb678ed84a936b886fc1c62fdf8a69cec864b56;hp=8d8a805bfbc0ac6ae3a8c1e47a1ebba8505f68e3;hb=e01802ac69da0ec0c9ccecc295beff82c1779f68;hpb=0fa7894b7489284160ff14afdca7b6911983357f diff --git a/docs/symbols/Roo.DomQuery.json b/docs/symbols/Roo.DomQuery.json index 8d8a805bfb..7fb678ed84 100644 --- a/docs/symbols/Roo.DomQuery.json +++ b/docs/symbols/Roo.DomQuery.json @@ -1,10 +1,15 @@ { "name" : "Roo.DomQuery", "augments" : [], + "childClasses" : { }, + "tree_children" : [], + "tree_parent" : [], "desc" : "Provides high performance selector/xpath processing by compiling queries into reusable functions. New pseudo classes and matchers can be plugged. It works on HTML and XML documents (if a content node is passed in).\n

\nDomQuery supports most of the CSS3 selectors spec, along with some custom selectors and basic XPath.

\n\n

\nAll selectors, attribute filters and pseudos below can be combined infinitely in any order. For example \"div.foo:nth-child(odd)[@foo=bar].bar:first\" would be a perfectly valid selector. Node filters are processed in the order in which they appear, which allows you to optimize your queries for your document structure.\n

\n

Element Selectors:

\n\n

Attribute Selectors:

\n

The use of @ and quotes are optional. For example, div[@foo='bar'] is also a valid attribute selector.

\n\n

Pseudo Classes:

\n\n

CSS Value Selectors:

\n", "isSingleton" : true, "isStatic" : false, "isBuiltin" : false, + "isAbstract" : false, + "isBuilderTop" : false, "memberOf" : "DomQuery", "example" : "", "deprecated" : "", @@ -12,19 +17,26 @@ "see" : "", "params" : [], "returns" : [], + "throws" : "", + "requires" : "", "config" : [], "methods" : [ { "name" : "selectNumber", + "type" : "function", "desc" : "Selects the value of a node, parsing integers and floats.", + "sig" : "(selector, root, defaultValue)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.DomQuery", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "selector", @@ -55,15 +67,20 @@ }, { "name" : "is", + "type" : "function", "desc" : "Returns true if the passed element(s) match the passed simple selector (e.g. div.some-class or span:first-child)", + "sig" : "(el, selector)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.DomQuery", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "el", @@ -88,15 +105,20 @@ }, { "name" : "selectValue", + "type" : "function", "desc" : "Selects the value of a node, optionally replacing null with the defaultValue.", + "sig" : "(selector, root, defaultValue)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.DomQuery", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "selector", @@ -121,15 +143,20 @@ }, { "name" : "filter", + "type" : "function", "desc" : "Filters an array of elements to only include matches of a simple selector (e.g. div.some-class or span:first-child)", + "sig" : "(el, selector, nonMatches)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.DomQuery", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "el", @@ -160,15 +187,20 @@ }, { "name" : "select", + "type" : "function", "desc" : "Selects a group of elements.", + "sig" : "(selector, root)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.DomQuery", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "selector", @@ -193,15 +225,20 @@ }, { "name" : "selectNode", + "type" : "function", "desc" : "Selects a single element.", + "sig" : "(selector, root)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.DomQuery", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "selector", @@ -226,15 +263,20 @@ }, { "name" : "compile", + "type" : "function", "desc" : "Compiles a selector/xpath query into a reusable function. The returned function\ntakes one parameter \"root\" (optional), which is the context node from where the query should start.", + "sig" : "(selector, type)", + "static" : false, + "memberOf" : "", "isStatic" : false, "isConstructor" : false, "isPrivate" : false, - "memberOf" : "Roo.DomQuery", "example" : "", "deprecated" : "", "since" : "", "see" : "", + "exceptions" : "", + "requires" : "", "params" : [ { "name" : "selector",