Where can I find jsdom documentation?

I am looking for jsdom documentation that is more descriptive than just readme at https://github.com/tmpvar/jsdom .

In particular, I am looking for instructions on how to interpret the nodeType DOM node property created by jsdom. The property stores an integer that is not inalienable as far as I can see. In the next example, I’m sure that there are some tests that I can do to find out which whole maps are of the DOM node type, but it takes a long time to write my own tests and introspection code to just bypass these objects. Other questions that I would use for doc relate to how to directly access the parent node, navigate through them, get text data, etc. (All by accessing object properties directly outside any jQuery-specific functions).

Where can I find jsdom documentation on DOM node properties?

+5
source share
1 answer

jsdom, NodeTypes - Named Constants http://www.w3schools.com/dom/dom_nodetype.asp, -, , nodeType .

0

All Articles