Skip to content

ActiveFileProvider

Provides access to the currently active file.

Import:

import type { ActiveFileProvider } from '@mnaoumov/obsidian-lib/active-file-provider';

Signature:

export interface ActiveFileProvider

Properties

PropertyTypeDescription
getActiveFile() => null | TFileGets the currently active file.

Links to this page: