mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-03-10 08:51:22 +00:00
Merge pull request #243 from webcomponents/activeElement
Add an activeElement getter for #110
This commit is contained in:
@@ -47,6 +47,10 @@
|
||||
mixin(ShadowRoot.prototype, {
|
||||
constructor: ShadowRoot,
|
||||
|
||||
get activeElement() {
|
||||
return document.activeElement;
|
||||
}
|
||||
|
||||
get innerHTML() {
|
||||
return getInnerHTML(this);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user