Skip to main content
Module

x/docxml/mod.ts>TextDeletion

TypeScript library for parsing and building a DOCXML file
Go to Latest
class TextDeletion
import { TextDeletion } from "https://deno.land/x/docxml@5.1.1/mod.ts";

A component that represents a change-tracked text that was deleted.

Methods

toNode(ancestry: ComponentAncestor[]): Promise<Node>

Creates an XML DOM node for this component instance.

Static Properties

readonly
children: string[]
readonly
mixed: boolean

Static Methods

fromNode(node: Node): TextDeletion

Instantiate this component from the XML in an existing DOCX file.

matchesNode(node: Node): boolean

Asserts whether or not a given XML node correlates with this component.