typedef: add userAgent open option

This commit is contained in:
CanadaHonk 2023-04-10 22:15:05 +01:00
parent 6eceb53e24
commit 06d2b25bf9

5
gluon.d.ts vendored
View File

@ -551,7 +551,10 @@ type OpenOptions = {
* Whether DevTools (Ctrl+Shift+I etc) is enabled/disabled in the Gluon window. Enabled by default.
* @default true
*/
devtools?: boolean
devtools?: boolean,
/** Set a custom user agent for the browser engine to use. */
userAgent?: string,
};
/**