Add NodeType() function to NodeBase type
smoyer64 opened this issue · comments
Needed to properly iterate over just child elements as desired in #38.
See https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType for enumerated node types.
DOM library for Go and WASM
smoyer64 opened this issue · comments
Needed to properly iterate over just child elements as desired in #38.
See https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType for enumerated node types.