Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/docxml/src/components/RowAddition.ts>RowAddition

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
class RowAddition
extends Component<RowAdditionProps, RowAdditionChild>
import { RowAddition } from "https://deno.land/x/docxml@5.5.4/src/components/RowAddition.ts";

A component that represents a change-tracked table row that was inserted. Works the same way as a normal row, but requires some props describing the change.

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): RowAddition

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.