Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/docxml/src/utilities/components.ts>registerComponent

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
function registerComponent
import { registerComponent } from "https://deno.land/x/docxml@5.5.4/src/utilities/components.ts";

Register a component in such a way that it can be found by its name later. Uses the class name as unique key.

Type Parameters

C extends AnyComponent

Parameters

component: ComponentDefinition<C>