PreloadScript Type
Constructors
| Constructor |
Description
|
Full Usage:
PreloadScript(type, id, filePath)
Parameters:
Type
-
Context type where the preload script will be executed. Possible values include frame or service-worker.
id : string
-
Unique ID of preload script.
filePath : string
-
Path of the script file. Must be an absolute path.
Returns: PreloadScript
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.filePath
|
Path of the script file. Must be an absolute path. |
Full Usage:
this.id
|
Unique ID of preload script. |
Full Usage:
this.type
|
Context type where the preload script will be executed. Possible values include frame or service-worker. |
fable-electron-docs-api