@maxgraph/core
    Preparing search index...

    Function isAncestorNode

    • Returns true if the given ancestor is an ancestor of the given DOM node in the DOM. This also returns true if the child is the ancestor.

      Parameters

      • ancestor: Element

        DOM node that represents the ancestor.

      • child: null | Element

        DOM node that represents the child.

      Returns boolean