ownerDocument property

Document ownerDocument
@DocsEditable(), @DomName('Node.ownerDocument'), final

The document this node belongs to.

Returns null if this node does not belong to any document.

Other resources

Node.ownerDocument from MDN.

Implementation

final Document ownerDocument