Przeglądaj źródła

added mode and delegatesFocus properties in shadowRoots data

Gildas 6 lat temu
rodzic
commit
7959f067ba
1 zmienionych plików z 2 dodań i 0 usunięć
  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);
 		});