activeElement
Summary
Represents the currently focused element in the shadow tree.
Property of dom/shadowdom/ShadowRootdom/shadowdom/ShadowRoot
Syntax
Note: This property is read-only.
var result = element.activeElement;
Return Value
Returns an object of type ElementElement
On getting, the attribute must return the currently focused element in the shadow tree or null, if there is none.