Skip to main content
Module

x/evt/lib/types/index.ts>dom.DOMParser

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.DOMParser
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/types/index.ts";
const { DOMParser } = dom;

Provides the ability to parse XML or HTML source code from a string into a DOM Document.

Methods

parseFromString(str: string, type: SupportedType): Document