HistoryPushState - cBaseLocalControlHost
Pushes a new history item to the history stack
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| sUrl | String | The new URL |
| sTitle | String | The new page title |
| stateData | tWebValueTree | A tWebValueTree struct to store additional data |
Syntax
Procedure HistoryPushState String sUrl String sTitle tWebValueTree stateData
Call Example
Send HistoryPushState sUrl sTitle stateData
Description
Pushes a new history item to the history stack.
A new URL and title can be passed.
The stateData object can be used to store data used when navigating back to this history item (see OnHistoryPopState). Maps to the JavaScript browser API history.pushState().