Skip to content

resolveNotebookNavigatorApi

Gets Notebook Navigator’s API, when it is installed, enabled and new enough.

Import:

import { resolveNotebookNavigatorApi } from '@mnaoumov/obsidian-lib/notebook-navigator';

Signature:

function resolveNotebookNavigatorApi(app: App): NotebookNavigatorApi | null

Parameters:

Parameter Type Description
app App The application instance.

Returns: NotebookNavigatorApi | null — The API, or null when Notebook Navigator is not there to talk to.