navigation: adding clearHistory method

This commit is contained in:
deepak1556 2015-05-19 22:41:03 +05:30
parent ec5d05e226
commit b0e8cafa00
5 changed files with 29 additions and 4 deletions

View file

@ -778,6 +778,10 @@ Returns whether the web page can go forward.
Returns whether the web page can go to `offset`.
### WebContents.clearHistory()
Clears the navigation history.
### WebContents.goBack()
Makes the web page go back.

View file

@ -165,6 +165,10 @@ Returns whether guest page can go forward.
Returns whether guest page can go to `offset`.
### `<webview>`.clearHistory()
Clears the navigation history.
### `<webview>`.goBack()
Makes guest page go back.