Class Roo.DomQuery

Package:Roo
Defined In: Roo/DomQuery.js.
Class:DomQuery
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).


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




All 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.


Element Selectors:



Attribute Selectors:


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



Pseudo Classes:



CSS Value Selectors:


Class Comments / Notes => [Add Your comment/notes about this class]
Config Options - Has None
Public Properties - Has None
Public Methods
Method Defined By
Events - Has None
Documentation generated by Introspection Doc Generator on Fri Jul 13 2018 14:10:53 GMT+0800 (HKT) Based on JsDoc Toolkit