mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-24 03:46:03 +08:00
Merge pull request #1730 from deepak1556/webview_navigation_patch
navigation: adding clearHistory method
This commit is contained in:
@@ -792,6 +792,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.
|
||||
|
||||
@@ -173,6 +173,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.
|
||||
|
||||
Reference in New Issue
Block a user