Element.attributes

This is where the attributes are actually stored. You should use getAttribute, setAttribute, and hasAttribute instead.

class Element
AttributesHolder attributes;

Meta

History

AttributesHolder replaced string[string] on August 22, 2024