MCPcopy
hub / github.com/codex-team/editor.js / Element

Interface Element

src/components/polyfills.ts:6–14  ·  view source on GitHub ↗

* Extend Element interface to include prefixed and experimental properties

Source from the content-addressed store, hash-verified

4 * Extend Element interface to include prefixed and experimental properties
5 */
6interface Element {
7 matchesSelector: (selector: string) => boolean;
8 mozMatchesSelector: (selector: string) => boolean;
9 msMatchesSelector: (selector: string) => boolean;
10 oMatchesSelector: (selector: string) => boolean;
11
12 prepend: (...nodes: Array<string | Node>) => void;
13 append: (...nodes: Array<string | Node>) => void;
14}
15
16/**
17 * The Element.matches() method returns true if the element

Callers 1

flipCallbackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected