Skip to content

ActiveFileProvider

Provides access to the currently active file.

Import:

import type { ActiveFileProvider } from 'obsidian-dev-utils/obsidian/active-file-provider';

Signature:

export interface ActiveFileProvider

Methods

MethodReturnsDescription
getActiveFile()null | TFileGets the currently active file.

Links to this page: