MCPcopy Index your code
hub / github.com/angular/angular / parseDocument

Function parseDocument

packages/platform-server/src/domino_adapter.ts:26–30  ·  view source on GitHub ↗
(html: string, url = '/')

Source from the content-addressed store, hash-verified

24 * Parses a document string to a Document object.
25 */
26export function parseDocument(html: string, url = '/') {
27 let window = domino.createWindow(html, url);
28 let doc = window.document;
29 return doc;
30}
31
32/**
33 * Serializes a document to string.

Callers 2

_documentFunction · 0.90
createHtmlDocumentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…