UNPKG

283 BTypeScriptView Raw
1/**
2 * returns current active element. If the active element is a "container" itself(shadowRoot or iframe) returns active element inside it
3 * @param [inDocument]
4 */
5export declare const getActiveElement: (inDocument?: Document | ShadowRoot | undefined) => HTMLElement | undefined;