ValueComponentWithChangeTracking<T>
A ValueComponent that can track changes.
Import:
import type { ValueComponentWithChangeTracking } from '@mnaoumov/obsidian-lib/setting-components/value-component-with-change-tracking';Signature:
export interface ValueComponentWithChangeTracking<T> extends ValueComponent<T>Extends: ValueComponent<T>
Properties
| Property | Type | Description |
|---|---|---|
| onChange | (callback: (newValue: T) => void) => this | Sets a callback function to be called when the value of the component changes. |
Links to this page: