typedef: add PageApi.loaded
This commit is contained in:
parent
91944cadbf
commit
dd410076a7
5
gluon.d.ts
vendored
5
gluon.d.ts
vendored
@ -6,7 +6,10 @@ type PageApi = {
|
|||||||
eval: (
|
eval: (
|
||||||
/** String or function to evaluate. */
|
/** String or function to evaluate. */
|
||||||
expression: string|Function
|
expression: string|Function
|
||||||
) => Promise<any>
|
) => Promise<any>,
|
||||||
|
|
||||||
|
/** Promise for waiting until the page has loaded. */
|
||||||
|
loaded: Promise<void>
|
||||||
};
|
};
|
||||||
|
|
||||||
type IPCApi = {
|
type IPCApi = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user