SheetXL - v1.0.2
    Preparing search index...

    Function hasFocus

    • Checks if the given element or any of its children has focus.

      Parameters

      • elementSource: HTMLElement | SVGElement

        The element to check for focus.

      • ignoreDoc: boolean = false

        Whether to ignore the document's focus state.

      Returns boolean

      True if the element or its children have focus, false otherwise.