Skip to main content
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@4.0.7/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.

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

Utility type to retrieve the prop types of an Component