Skip to main content
Module

x/lol_html/types.d.ts>TextChunk

Low output latency streaming HTML parser/rewriter with CSS selector-based API in Deno, via Webassembly.
Go to Latest
class TextChunk
import { TextChunk } from "https://deno.land/x/lol_html@0.0.5/types.d.ts";

Properties

readonly
lastInTextNode: boolean
readonly
removed: boolean
readonly
text: string

Methods

after(content: string, content_type?: any): void
before(content: string, content_type?: any): void
free(): void
remove(): void
replace(content: string, content_type?: any): void