MCPcopy
hub / github.com/darkreader/darkreader / CreateNodeAsapParams

Interface CreateNodeAsapParams

src/inject/utils/dom.ts:6–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import {logWarn} from '../utils/log';
5
6interface CreateNodeAsapParams {
7 selectNode: () => HTMLElement;
8 createNode: (target: HTMLElement) => void;
9 updateNode: (existing: HTMLElement) => void;
10 selectTarget: () => HTMLElement;
11 createTarget: () => HTMLElement;
12 isTargetMutation: (mutation: MutationRecord) => boolean;
13}
14
15interface NodePosetionWatcher {
16 run: () => void;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected