Attributes
Instance accessors
Attributes.prototype.
Description
Static methods
Attributes.
Description
Instance methods
Attributes.prototype.
Description
Last updated
The Attributes string object builds an immutable list of attributes in original insertion order where attribute comes in form name="value".
template()
The "tag" static method builds the attribute list.
get()
Gets the attribute of a specified name.
getAll()
Gets the attributes in an array form.
getAttributes()
Gets the attributes in an array form.
has()
Checks whether the attribute of a specified name exists in an Attributes object.
toObject()
Gets the attributes in an object form, where the key is the attribute name.
toString()
Gets the attribute list, the primitive value of a specified Attributes object.
valueOf()
Gets the attribute list, the primitive value of a specified Attributes object.
Last updated