Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>History

Advanced Web Composition for Future
Latest
interface History
import { type History } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

Allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.

Properties

readonly
length: number
scrollRestoration: ScrollRestoration
readonly
state: any

Methods

back(): void
forward(): void
go(delta?: number): void
pushState(
data: any,
title: string,
url?: string | null,
): void
replaceState(
data: any,
title: string,
url?: string | null,
): void