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

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

TypeScript (component) library for building and parsing a DOCX file
Latest
type alias ComponentContext
import { type ComponentContext } from "https://deno.land/x/docxml@5.15.3/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; }