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

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

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

A component that represents a hyperlink to another part of the same document.

Methods

ensureRelationship(relationships: RelationshipsXml)
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): Hyperlink

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.