CodeBlockBuilderGroup
A collapsible group of fields. One group is expanded at a time: expanding a group collapses the others.
Import:
import type { CodeBlockBuilderGroup } from '@mnaoumov/obsidian-lib/modals/code-block-builder';Signature:
export interface CodeBlockBuilderGroupProperties
| Property | Type | Description |
|---|---|---|
| fields | readonly CodeBlockBuilderField[] | The fields of the group. A required field inside a group is still written into the code block. |
| isInitiallyExpanded? | boolean | Whether the group starts expanded. |
| name | string | The heading of the group. |
| type | 'group' | The kind of the entry. |
Links to this page: