typedef: add PageApi.title
This commit is contained in:
parent
7c55d94f71
commit
0614293c68
5
gluon.d.ts
vendored
5
gluon.d.ts
vendored
@ -9,7 +9,10 @@ type PageApi = {
|
|||||||
) => Promise<any>,
|
) => Promise<any>,
|
||||||
|
|
||||||
/** Promise for waiting until the page has loaded. */
|
/** Promise for waiting until the page has loaded. */
|
||||||
loaded: Promise<void>
|
loaded: Promise<void>,
|
||||||
|
|
||||||
|
/** Get or set the title of the page (async) */
|
||||||
|
title: Promise<string>
|
||||||
};
|
};
|
||||||
|
|
||||||
type IPCApi = {
|
type IPCApi = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user