NavigationHistory
Functions
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 relative offset
from the current entry.
Link copied to clipboard
The index of the current page, from which we would go back/forward or reload.
Link copied to clipboard
fun getAllEntries(): ERROR CLASS: Symbol not found for js.array.ReadonlyArray<electron/core/NavigationEntry>
WebContents complete history.
Link copied to clipboard
Navigation entry at the given index.
Link copied to clipboard
Navigates to the specified relative offset from the current entry.
Link copied to clipboard
Removes the navigation entry at the given index. Can't remove entry at the "current active index".
Link copied to clipboard
fun restore(options: RestoreOptions): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for js.core.Void>
the promise will resolve when the page has finished loading the selected navigation entry (see did-finish-load
), and rejects if the page fails to load (see did-fail-load
). A noop rejection handler is already attached, which avoids unhandled rejection errors.