history

package
v2.9.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2023 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Back added in v2.4.1

func Back()

Go back one page.

func Call added in v2.4.1

func Call(method string, args ...interface{}) (js.Value, error)

Call a method on the history object.

func Forward added in v2.4.1

func Forward()

Go forward one page.

func Go added in v2.4.1

func Go(index int)

Go to a specific page in the history.

func Length added in v2.4.1

func Length() int

Get the length of the history object.

func PushState added in v2.4.1

func PushState(data interface{}, title string, url string) error

Push a state to the history.

func ReplaceState added in v2.4.1

func ReplaceState(data interface{}, title string, url string) error

Replace the current state in the history.

func ScanState added in v2.4.1

func ScanState(dst interface{}) error

Scan the current state into dst.

func State added in v2.4.1

func State() js.Value

Get the current state.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL