load

  • typedef
load {Object}  

The load object is a POJO that is used to refer to a module during module loading lifecycle hooks.

Object

Properties

  1. name {String}

    The moduleName of this module. The name property always exists on the load object. The load object is only created after the module name is known; after the normalize step.

  2. address {String}Optional

    The URL / filesystem path, or generic location of which the module can be fetched. The address is known after the locate step.

  3. source {String}Optional

    The actual source code for this module.

  4. metadata {metadata}

    The metadata associated with this module, such as which module format is being used.

Help us improve StealJS by taking our community survey