Element.attrs

Gives dot/opIndex access to attributes

ele.attrs.largeSrc = "foo"; // same as ele.setAttribute("largeSrc", "foo")
class Element
@property
attrs
()

Meta