PluginSettingsComponentBaseOnSaveSettingsParams<PluginSettings>
Parameters for PluginSettingsComponentBase.onSaveSettings.
Import:
import type { PluginSettingsComponentBaseOnSaveSettingsParams } from 'obsidian-dev-utils/obsidian/components/plugin-settings-component';Signature:
export interface PluginSettingsComponentBaseOnSaveSettingsParams<PluginSettings extends object>Properties
| Property | Type | Description |
|---|---|---|
| context | unknown | The save context. |
| newState | ReadonlyPluginSettingsState<PluginSettings> | The new settings state. |
| oldState | ReadonlyPluginSettingsState<PluginSettings> | The old settings state. |