Explorar o código

added mode and delegatesFocus properties in shadowRoots data

Gildas %!s(int64=6) %!d(string=hai) anos
pai
achega
7959f067ba
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lib/single-file/single-file-helper.js

+ 2 - 0
lib/single-file/single-file-helper.js

@@ -145,6 +145,8 @@ this.singlefile.lib.helper = this.singlefile.lib.helper || (() => {
 				data.shadowRoots.push(shadowRootInfo);
 				getElementsInfo(win, doc, element.shadowRoot, options, data, elementHidden);
 				shadowRootInfo.content = element.shadowRoot.innerHTML;
+				shadowRootInfo.delegatesFocus = element.shadowRoot.delegatesFocus;
+				shadowRootInfo.mode = element.shadowRoot.mode;
 			}
 			getElementsInfo(win, doc, element, options, data, elementHidden);
 		});