Interface History

All Known Implementing Classes:
HistoryImpl

public interface History
Allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.
  • Method Details

    • getLength

      int getLength()

      getLength.

      Returns:
      a Integer object.
    • getScrollRestoration

      ScrollRestoration getScrollRestoration()

      getScrollRestoration.

      Returns:
      a ScrollRestoration object.
    • setScrollRestoration

      void setScrollRestoration(ScrollRestoration scrollRestoration)

      setScrollRestoration.

      Parameters:
      scrollRestoration - a ScrollRestoration object.
    • back

      void back()

      back.

    • forward

      void forward()

      forward.

    • go

      void go(int delta)

      go.

      Parameters:
      delta - a Integer object.
    • go

      void go()

      go.

    • pushState

      void pushState(Object data, String title, String url)

      pushState.

      Parameters:
      data - a Object object.
      title - a String object.
      url - a String object.
    • pushState

      void pushState(Object data, String title)

      pushState.

      Parameters:
      data - a Object object.
      title - a String object.
    • replaceState

      void replaceState(Object data, String title, String url)

      replaceState.

      Parameters:
      data - a Object object.
      title - a String object.
      url - a String object.
    • replaceState

      void replaceState(Object data, String title)

      replaceState.

      Parameters:
      data - a Object object.
      title - a String object.