navigation: adding clearHistory method
This commit is contained in:
parent
ec5d05e226
commit
b0e8cafa00
5 changed files with 29 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue