Object to work with application history.
Methods
-
staticns.page.history.back(){Vow.Promise}
ns.page.history.js, line 69 -
Go to previous page and delete it from history.
-
staticns.page.history.getPrevious(n){string}
ns.page.history.js, line 93 -
Returns previous page.
Name Type Default Description n
number 0 optional N pages ago
-
staticns.page.history.push(url)
ns.page.history.js, line 27 -
Saves url in history.
Name Type Description url
string -
staticns.page.history.replace(url)
ns.page.history.js, line 54 -
Replace url in history.
Name Type Description url
string -
staticns.page.history.reset()
ns.page.history.js, line 105 -
Сбрасывает данные в начальное состояние. Метод используется в тестах.