PopStateEvent Properties: state

By: Dusty Arlia
Published on Saturday, December 20, 2014 at 1:35 PM
Last Updated on Tuesday, July 14, 2015 at 12:35 PM
Total Updates: 2

The state property of the PopStateEvent JavaScript object holds a copy of the state value or object that was passed to the History.pushState() or History.replaceState() method. The value of the state property can be any value that can be cloned with the structured clone algorithm.