MCPcopy Create free account
hub / github.com/NoMoreDeps/marksjs / createElement

Method createElement

publish/marks/Interfaces/IDocument.d.ts:6–6  ·  view source on GitHub ↗
(tagName: string, textContent?: string)

Source from the content-addressed store, hash-verified

4 findFirst(predicate: (elt: IVDom_Element) => boolean, deepLevel?: number): IVDom_Element | null;
5 findAll(predicate: (elt: IVDom_Element) => boolean, deepLevel?: number): IVDom_Element[] | null;
6 createElement(tagName: string, textContent?: string): IVDom_Element;
7}

Callers 15

oFunction · 0.65
processMethod · 0.65
renderMethod · 0.65
oMethod · 0.65
renderFromHtmlNodeMethod · 0.65
constructorMethod · 0.65
prependTextMethod · 0.65
appendTextMethod · 0.65
renderMethod · 0.65
sFunction · 0.65

Implementers 2

Documentpublish/marks/VDom/Html/Document.d.ts
Documentsrc/VDom/Html/Document.ts

Calls

no outgoing calls

Tested by

no test coverage detected