Register an arbitrary disposer to run on teardown.
The container the enhancer was invoked with (often document).
Dispatch a bubbling hl:* CustomEvent from the root. Returns false when
a cancelable event was prevented.
Watch target with a MutationObserver that is disconnected on destroy.
Defaults to { childList: true, subtree: true }, which is what enhancers
need to pick up items added or removed after they ran. No-op where
MutationObserver is unavailable.
Attach an event listener that is auto-removed on destroy.
Options merged from the definition's defaults, the root's data-hl-* attributes, and the caller.
The matched component root.
Generate a unique id namespaced to this enhancer.
The toolkit handed to an enhancer's
setup. Everything registered throughon/observe/addis torn down automatically when the instance is destroyed.