Back to Electron

PreloadScript Object

docs/api/structures/preload-script.md

42.0.0270 B
Original Source

PreloadScript Object

  • type string - 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.