node_expand¶
- class atlas_doc_parser.nodes.node_expand.NodeExpandAttrs(title: str = OPT, localId: str = OPT)[source]¶
Attributes for
NodeExpand.- Parameters:
title – Optional. Display title for the expand container.
localId – Optional. A unique identifier for the node.
- class atlas_doc_parser.nodes.node_expand.NodeExpand(type: str = 'expand', attrs: NodeExpandAttrs = OPT, content: list[NodeParagraph | NodePanel | NodeBlockquote | NodeOrderedList | NodeBulletList | NodeRule | NodeHeading | NodeCodeBlock | NodeMediaGroup | NodeMediaSingle | NodeDecisionList | NodeTaskList | NodeTable | NodeBlockCard | NodeEmbedCard | NodeExtension | NodeNestedExpand] = REQ)[source]¶
A container that enables content to be hidden or shown.
The expand node is a top-level block node similar to an accordion or disclosure widget. It contains block-level content that can be toggled visible or hidden by the user.
Note: For table cells or headers, use nestedExpand instead of expand.