Releases: aruntk/html5-utils
Releases · aruntk/html5-utils
1.0.0-beta.2
Release Notes
New
- .getAttrObj(node, attributeName) -> attribute object
{ name, value } - .getAttrIndex(node, attributeName) -> first index attribute inside attr array or -1 if attribute is not set
- .getAttr(node, attributeName) -> returns attribute value or null
- .setAttr(node, attributeName, value) -> sets/changes attribute.
- .removeAttr(node, attributeName)