Skip to content

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 CodeBlockBuilderGroup

Properties

PropertyTypeDescription
fieldsreadonly CodeBlockBuilderField[]The fields of the group. A required field inside a group is still written into the code block.
isInitiallyExpanded?booleanWhether the group starts expanded.
namestringThe heading of the group.
type'group'The kind of the entry.

Links to this page: