ActiveFileProvider
Provides access to the currently active file.
Import:
import type { ActiveFileProvider } from 'obsidian-dev-utils/obsidian/active-file-provider';Signature:
export interface ActiveFileProviderMethods
| Method | Returns | Description |
|---|---|---|
| getActiveFile() | null | TFile | Gets the currently active file. |
Links to this page: