Package Exports
- domconstants
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (domconstants) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
domconstants
Commonly used DOM constants for various projects.
export {
UID, // a unique ID usable as attribute too
UIDC, // a unique ID wrapped as comment node
UID_IE, // a boolean indicating IE was detected
COMMENT_NODE, // Node.COMMENT_NODE
DOCUMENT_FRAGMENT_NODE, // Node.DOCUMENT_FRAGMENT_NODE
ELEMENT_NODE, // Node.ELEMENT_NODE
TEXT_NODE, // Node.TEXT_NODE
SHOULD_USE_TEXT_CONTENT, // a RegExp matching nodes that need textContent
VOID_ELEMENTS // a RegExp of all void elements (i.e. img, input, etc...)
};