Skip to content

Commit 9f7df4c

Browse files
committed
Fix dom-module API docs with static import function
Fixes #4740
1 parent c20b657 commit 9f7df4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/elements/dom-module.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
*
4343
* Then in code in some other location that cannot access the dom-module above
4444
*
45-
* let img = document.createElement('dom-module').import('foo', 'img');
45+
* let img = customElements.get('dom-module').import('foo', 'img');
4646
*
4747
* @customElement
4848
* @extends HTMLElement

0 commit comments

Comments
 (0)