Skip to main content
Module

x/docxml/mod.ts>Comment

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
class Comment
extends Component<CommentProps, CommentChild>
import { Comment } from "https://deno.land/x/docxml@5.15.1/mod.ts";

The start of a range associated with a comment.

Methods

toNode(ancestry: ComponentAncestor[]): Node

Creates an XML DOM node for this component instance.

Static Properties

readonly
children: string[]
readonly
mixed: boolean

Static Methods

fromNode(node: Node): Comment

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.