Skip to content

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

PropertyTypeDescription
contextunknownThe save context.
newStateReadonlyPluginSettingsState<PluginSettings>The new settings state.
oldStateReadonlyPluginSettingsState<PluginSettings>The old settings state.