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

MethodReturnsDescription
onHistoryBack()voidCalled when the user navigates back in the history.
onHistoryForward()voidCalled when the user navigates forward in the history.

Links to this page: