Skip to content

TextBasedComponent<T>

A component based on a text input.

Import:

import type { TextBasedComponent } from '@mnaoumov/obsidian-lib/setting-components/text-based-component';

Signature:

export interface TextBasedComponent<T>

Properties

PropertyTypeDescription
empty() => voidEmpties the component.
isEmpty() => booleanChecks if the component is empty.
setPlaceholderValue(placeholderValue: T) => thisSets the placeholder value of the component.

Links to this page: