PreloadScriptRegistration Type
Constructors
| Constructor |
Description
|
Full Usage:
PreloadScriptRegistration(type, filePath, ?id)
Parameters:
Type
-
Context type where the preload script will be executed. Possible values include frame or service-worker.
filePath : string
-
Path of the script file. Must be an absolute path.
?id : string
-
Unique ID of preload script. Defaults to a random UUID.
Returns: PreloadScriptRegistration
|
|
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. Defaults to a random UUID. |
Full Usage:
this.type
|
Context type where the preload script will be executed. Possible values include frame or service-worker. |
fable-electron-docs-api