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
| Property | Type | Description |
|---|---|---|
| empty | () => void | Empties the component. |
| isEmpty | () => boolean | Checks if the component is empty. |
| setPlaceholderValue | (placeholderValue: T) => this | Sets the placeholder value of the component. |
Links to this page: