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

x/docxml/src/classes/Component.ts

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
import * as docxml from "https://deno.land/x/docxml@5.5.1/src/classes/Component.ts";

Interfaces

The interface to which a class definition of an XML component must adhere -- ie. it must have a children and mixed static properties.

Type Aliases

Any component instance, uncaring of which one or which props/children it has. Knows nothing, assumes everything.

An ancestor of a component at serialization time, or the DocumentXml instance that is the parent of the top-most component.

Utility type to retrieve the children types of an Component

A custom function which which native components can be composed into something more easily reusable.

A component may serialize to one string/node, or multiple.

Utility type to retrieve the prop types of an Component