Skip to content

Provide an Attribute getter in Element, Attributes #2069

@jhy

Description

@jhy

Right now the only way to get an Attribute object (vs attribute string values) is to iterate the Element.attributes() Attributes object. That was OK when Attribute didn't do much, but now it's an accessor to the attribute source range, a new accessor will be convenient.

See discussion in #1933.

Metadata

Metadata

Assignees

Labels

improvementAn improvement / new feature idea

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions