TextBasedComponent<T>
A component based on a text input.
Import:
import type { TextBasedComponent } from 'obsidian-dev-utils/obsidian/setting-components/text-based-component';Signature:
export interface TextBasedComponent<T>Methods
| Method | Returns | Description |
|---|---|---|
| empty() | void | Empties the component. |
| isEmpty() | boolean | Checks if the component is empty. |
| setPlaceholderValue(placeholderValue) | this | Sets the placeholder value of the component. |
Links to this page: