Skip to content

resolveNotebookNavigatorApi

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

Import:

import { resolveNotebookNavigatorApi } from 'obsidian-dev-utils/obsidian/notebook-navigator';

Signature:

function resolveNotebookNavigatorApi(app: App): NotebookNavigatorApi | null

Parameters:

ParameterTypeDescription
appAppThe application instance.

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