ownerElement

external val ownerElement: Element?(source)

The read-only ownerElement property of the Attr interface returns the Element the attribute belongs to.

MDN Reference