OnHistoryPopState - cWebApp

Called when the back button is used in the browser and the history item was pushed using HistoryPushState

Type: Event

Parameters: String sTitle String sUrl tWebValueTree stateData

ParameterDescription
sUrlThe new URL
sTitleThe new page title
stateDataA tWebValueTree struct to store additional data


Syntax
Procedure OnHistoryPopState String sTitle String sUrl tWebValueTree stateData

Description

This event is called when the back button is used in the browser and the history item was pushed using HistoryPushState.

In that case, the browser does not reload the page, but fires this event, allowing the application itself to respond to the event . The stateData object contains the information that was passed to it when calling HistoryPushState. Maps to the JavaScript browser popstate event.

See Also

tWebValueTree