Merge pull request #243 from webcomponents/activeElement

Add an activeElement getter for #110
This commit is contained in:
Addy Osmani
2015-03-18 16:24:57 +00:00

View File

@@ -47,6 +47,10 @@
mixin(ShadowRoot.prototype, {
constructor: ShadowRoot,
get activeElement() {
return document.activeElement;
}
get innerHTML() {
return getInnerHTML(this);
},