toolmark-monorepo / @toolmark/core/dom / ScanDomOptions
Interface: ScanDomOptions
Defined in: packages/core/src/dom/scan.ts:22
Options for scanDom.
Properties
observe?
optionalobserve?:boolean
Defined in: packages/core/src/dom/scan.ts:29
Keep tools in sync with the DOM through MutationObservers (default true).
root?
optionalroot?:Element|Document|ShadowRoot
Defined in: packages/core/src/dom/scan.ts:27
What to scan (default document). It must hold only app-authored markup (spec §10.2, §14); put user-authored HTML under [data-tool-ignore].