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

x/docxml/src/classes/Component.ts

An experimental Deno tool to transform XML to DOCX with a little XPath- and component based configuration
Go to Latest
import * as docxml from "https://deno.land/x/docxml@2.4.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 OfficeDocument 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.

Utility type to retrieve the prop types of an Component