NavigationHistory

external class NavigationHistory(source)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Whether the browser can go back to previous web page.

Link copied to clipboard

Whether the browser can go forward to next web page.

Link copied to clipboard

Whether the web page can go to the specified offset from the current entry.

Link copied to clipboard
fun clear()

Clears the navigation history.

Link copied to clipboard

The index of the current page, from which we would go back/forward or reload.

Link copied to clipboard

WebContents complete history.

Link copied to clipboard

Navigation entry at the given index.

Link copied to clipboard
fun goBack()

Makes the browser go back a web page.

Link copied to clipboard
fun goForward()

Makes the browser go forward a web page.

Link copied to clipboard
fun goToIndex(index: Double)

Navigates browser to the specified absolute web page index.

Link copied to clipboard
fun goToOffset(offset: Double)

Navigates to the specified offset from the current entry.

Link copied to clipboard
fun length(): Double

History length.

Link copied to clipboard

Removes the navigation entry at the given index. Can't remove entry at the "current active index".