Skip to content

WebviewerDBStore.addHistoryItem method

WebviewerDBStore › addHistoryItem

Unofficial

Add a history item to the database.

Signature:

addHistoryItem(url: string, title?: string | undefined): Promise<void>

Parameters:

Parameter Type Description
url string The URL of the history item.
title? string | undefined Optional title for the history item.

Returns: Promise<void>A promise that resolves when the history item is added.