Skip to content

Releases: aruntk/html5-utils

1.0.0-beta.2

24 Jan 16:14

Choose a tag to compare

1.0.0-beta.2 Pre-release
Pre-release

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)