@bodil/dom
    Preparing search index...

    Function findActiveElement

    • Dig through shadow roots to find the actual element that currently has focus. If nothing has focus in or below the given root, return undefined.

      Parameters

      Returns Element | undefined