VOOZH about

URL: https://www.geeksforgeeks.org/html/svg-window-history-property/

⇱ SVG Window.history Property - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

SVG Window.history Property

Last Updated : 13 Jun, 2022

The SVG Window.history property returns a reference to the History object.

Syntax:

var e = window.history

Return value: This property returns a reference to the History object.

Example 1: In this example we will use onclick event.

Output:

👁 Image

Example 2: In this example we will use onmouseover event.

Output:

👁 Image

Supported Browsers:

  • Google Chrome 1 and above
  • Edge 12 and above
  • Firefox 1 and above
  • Safari 1 and above
  • Opera 3 and above
  • Internet Explorer 4 and above
Comment