push

adds a new state to the history

void push(string view,string url,any value);

Deprecated

Will be removed in Webix 7.0, use History.pushState() instead.

Parameters

viewstringid of related view
urlstringin-page url for new state
valueanyany related data

Example

webix.history.push("mytabs", "tabs/details" "details");

Details

When refreshing a page, the component, for which history a record is stored, will be called like:

$$(view).setValue(value);
See also
Back to top