Skip to content

HistoryHandler

Official

A handler that responds to history navigation, e.g. the Android ‘back’ button.

Import:

import type { HistoryHandler } from 'obsidian';

Signature:

export interface HistoryHandler

Methods

Method Returns Description
onHistoryBack() void Called when the user navigates back in the history.
onHistoryForward() void Called when the user navigates forward in the history.

Links to this page: