Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICustomScript

Specifies configuration options to load a custom script

Hierarchy

  • ICustomScript

Properties

scriptUrl

scriptUrl: string

A URL pointing to a JavaScript file that must be located somewhere in SharePoint. This scripts is loaded before the application bootstraps and enables you to register custom code.

serveFromAnywhere

serveFromAnywhere: string

For production builds the script must be loaded from within SharePoint itself. If you would like to bypass this, you can set this flag to true.