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

x/docxml/mod.ts>Text#toNode

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
method Text.prototype.toNode
import { Text } from "https://deno.land/x/docxml@5.6.0/mod.ts";

Creates an XML DOM node for this component instance.

Parameters

ancestry: ComponentAncestor[]

Returns

Promise<Node>