Export (0) Print
Expand All

state property

Returns the information that was provided to pushState or replaceState.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
ptr = object.state

 

Property values

Type: any

The current history state.

Remarks

Represents the context information for the event, or null, if the state represented is the initial state of the document.

See also

PopStateEvent

 

 

Show:
© 2014 Microsoft