@arcmantle/library
    Preparing search index...

    Function findActiveElement

    • Find the activeElement within the node or document and recursively pierce shadow boundaries.

      Parameters

      • node: Node = document

        The node to search within. (default: document)

      • includeSelf: boolean = false

        Check if the node itself is the activeElement? (default: false)

      Returns null | HTMLElement

      The innermost activeElement within the node when it exists, otherwise null.