Module

x/lume/deps/dom.ts>CharacterData

🔥 Static site generator for Deno 🦕
Very Popular
Latest
class CharacterData
extends Node
import { CharacterData } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/dom.ts";

Constructors

new
CharacterData(
data: string,
nodeName: string,
nodeType: NodeType,
parentNode: Node | null,
key: CTOR_KEY,
)

Properties

data: string
readonly
length: number
nodeValue: string
textContent: string

Methods

after(...nodes: (Node | string)[])
before(...nodes: (Node | string)[])
replaceWith(...nodes: (Node | string)[])
type alias CharacterData
import { type CharacterData } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/dom.ts";
variable CharacterData
import { CharacterData } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/dom.ts";

type

Pick<ConstructibleCharacterData, keyof ConstructibleCharacterData> & Function