BasesOptionGroup<T>
Official
Collapsible container for other ViewOptions.
Import:
import type { BasesOptionGroup } from 'obsidian';Signature:
export interface BasesOptionGroup<T extends BasesOption>Properties
| Property | Type | Description | |
|---|---|---|---|
| displayName | string | Display name of the option group. | |
| items | T[] | The options contained in this group. | |
| shouldHide? | () => boolean | If provided, the group will be hidden if the function returns true. | |
| type | 'group' | Discriminant indicating this is a group container. |