BulkOperationCommitComponentConstructorParams
Constructor parameters for BulkOperationCommitComponent.
Import:
import type { BulkOperationCommitComponentConstructorParams } from '@mnaoumov/obsidian-lib/components/bulk-operation-commit-component';Signature:
export interface BulkOperationCommitComponentConstructorParamsProperties
| Property | Type | Description |
|---|---|---|
| app | App | The Obsidian app instance. |
| isEnabled | () => boolean | Whether the plugin's opt-in setting for bulk-operation commits is on. Read on every operation, so a settings change applies to the next one. |
| maxSettleTimeInMilliseconds? | number | The longest the settle step waits for the vault to go quiet after an operation. |
| pluginId | string | The id of the plugin whose operations are committed. |
| pluginNoticeComponent | PluginNoticeComponent | The notice component used to report problems. |
| quietPeriodInMilliseconds? | number | How long the vault must go without a change after an operation before its commit is made. |