Class: Source

Source(name, type, path)

Class representing a resource source descriptor. Specifies the name, type, and path(s) of a resource to be loaded.

Constructor

new Source(name, type, path)

Creates an instance of Source.
Parameters:
Name Type Description
name string Name of the resource.
type ResourceTypes Type of the resource.
path string | Array.<string> Path(s) to the resource file(s).
Source: