We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
import
1 parent c20b657 commit 9f7df4cCopy full SHA for 9f7df4c
1 file changed
lib/elements/dom-module.html
@@ -42,7 +42,7 @@
42
*
43
* Then in code in some other location that cannot access the dom-module above
44
45
- * let img = document.createElement('dom-module').import('foo', 'img');
+ * let img = customElements.get('dom-module').import('foo', 'img');
46
47
* @customElement
48
* @extends HTMLElement
0 commit comments