7 lines
166 B
TypeScript
7 lines
166 B
TypeScript
|
/**
|
||
|
* Returns the actively focused element safely.
|
||
|
*
|
||
|
* @param doc the document to check
|
||
|
*/
|
||
|
export default function activeElement(doc?: Document): Element | null;
|