File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
packages/scoped-custom-element-registry/src Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,14 @@ declare global {
4444
4545 // https://dom.spec.whatwg.org/#dictdef-importnodeoptions
4646 interface ImportNodeOptions {
47+ /**
48+ * A boolean flag, whose default value is `false`, which controls whether to include the entire DOM
49+ * subtree of the `externalNode` in the import. `selfOnly` has the opposite effect of supplying a
50+ * boolean as the `options` argument.
51+ *
52+ * If `selfOnly` is set to `false`, then `externalNode` and all of its descendants are copied.
53+ * If `selfOnly` is set to `true`, then only `externalNode` is imported — the new node has no children.
54+ */
4755 selfOnly ?: boolean ;
4856 customElementRegistry ?: CustomElementRegistry ;
4957 }
You can’t perform that action at this time.
0 commit comments