-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
439 additions
and
285 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,6 @@ | |
"start": "electron ." | ||
}, | ||
"devDependencies": { | ||
"electron": "v29.2.0" | ||
"electron": "v29.3.0" | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package electron.main; | ||
/** | ||
@see https://electronjs.org/docs/api/navigation-history | ||
**/ | ||
@:jsRequire("electron", "NavigationHistory") extern class NavigationHistory extends js.node.events.EventEmitter<electron.main.NavigationHistory> { | ||
/** | ||
The index of the current page, from which we would go back/forward or reload. | ||
**/ | ||
function getActiveIndex():Int; | ||
/** | ||
* `url` string - The URL of the navigation entry at the given index. | ||
* `title` string - The page title of the navigation entry at the given index. | ||
If index is out of bounds (greater than history length or less than 0), null will be returned. | ||
**/ | ||
function getEntryAtIndex(index:Int):Any; | ||
/** | ||
History length. | ||
**/ | ||
function length():Int; | ||
} | ||
enum abstract NavigationHistoryEvent<T:(haxe.Constraints.Function)>(js.node.events.EventEmitter.Event<T>) from js.node.events.EventEmitter.Event<T> { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package electron.remote; | ||
/** | ||
@see https://electronjs.org/docs/api/navigation-history | ||
**/ | ||
@:jsRequire("electron", "remote.NavigationHistory") extern class NavigationHistory extends js.node.events.EventEmitter<electron.remote.NavigationHistory> { | ||
/** | ||
The index of the current page, from which we would go back/forward or reload. | ||
**/ | ||
function getActiveIndex():Int; | ||
/** | ||
* `url` string - The URL of the navigation entry at the given index. | ||
* `title` string - The page title of the navigation entry at the given index. | ||
If index is out of bounds (greater than history length or less than 0), null will be returned. | ||
**/ | ||
function getEntryAtIndex(index:Int):Any; | ||
/** | ||
History length. | ||
**/ | ||
function length():Int; | ||
} | ||
enum abstract NavigationHistoryEvent<T:(haxe.Constraints.Function)>(js.node.events.EventEmitter.Event<T>) from js.node.events.EventEmitter.Event<T> { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters