import { Field } from "https://deno.land/x/docxml@5.15.3/src/components/Field.ts";
A component that represents a (simple) instruction field.
Methods
toNode(ancestry: ComponentAncestor[]): Promise<Node>
Creates an XML DOM node for this component instance.
Static Methods
fromNode(node: Node, context: ComponentContext): Field
Instantiate this component from the XML in an existing DOCX file.
matchesNode(node: Node): boolean
Asserts whether or not a given XML node correlates with this component.