Skip to content

BasesOptionGroup<T>

Official

Collapsible container for other ViewOptions.

Import:

import type { BasesOptionGroup } from 'obsidian';

Signature:

export interface BasesOptionGroup<T extends BasesOption>

Properties

PropertyTypeDescription
displayNamestringDisplay name of the option group.
itemsT[]The options contained in this group.
shouldHide?() => booleanIf provided, the group will be hidden if the function returns true.
type'group'Discriminant indicating this is a group container.