Class HistoryEventArgs

This class is used by the Sys.Application Class to hold event arguments for the navigate event.

see

{@link http://msdn.microsoft.com/en-us/library/cc488008(v=vs.100).aspx}

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(state: any): HistoryEventArgs

For a live code example that demonstrates this event in action, and for a view of how this event is used in code, see Managing Browser History Using Client Script.

Parameters

  • state: any

    Object. A collection of key/value pairs that represent the state data. This data will be added to the main state to form the global state of the new history point.

Returns

HistoryEventArgs

Properties

public Empty: EventArgs

An object of type EventArgs that is used as a convenient way to specify an empty EventArgs instance.

Methods

public get_State(): any

Object. A collection of name/value pairs that represent the state of a Web page. The state object stores the data that is required in order to restore a Web page to a specified application state.

Returns

any

Object. A collection of name/value pairs that represent the state of a Web page.