Skip to main content

getDOMOwnerDocument

function

Returns the owner Document of the given EventTarget, or the target itself if it is a Document.

function getDOMOwnerDocument(target: EventTarget | null): Document | null

Import

import { getDOMOwnerDocument } from '@modular/sdk/editor';