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

x/docxml/src/classes/Component.ts>ComponentContext

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
type alias ComponentContext
import { type ComponentContext } from "https://deno.land/x/docxml@5.14.0/src/classes/Component.ts";

Contains references to things that ancestor nodes might want to communicate to their children.

When you are a node inside another node you are within it's "context". You are also within the "context" of all ancestor nodes. Nodes can block, change or pass context through so children see the context the way the nearest ancestor decides.

definition: { archive: Archive; relationships: RelationshipsXml | null; }