API ReferenceGlobalsScriptLoader

# Class: ScriptLoader

# Hierarchy

  • ScriptLoader

# Implements

# Index

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new ScriptLoader(creator: string): ScriptLoader

Defined in packages/common-core/src/script-loader.ts:50

Parameters:

Name Type
creator string

Returns: ScriptLoader

# Properties

# creator

creator: string

_Implementation of Context.creator_

Defined in packages/common-core/src/script-loader.ts:47

# Methods

# cleanUp

cleanUp(): void

Defined in packages/common-core/src/script-loader.ts:71

Returns: void


# fetch

fetch(url: string, options: object): Promise‹unknown›

Defined in packages/common-core/src/script-loader.ts:56

Parameters:

url: string

options: object

Name Type
id string

Returns: Promise‹unknown›


# loadScripts

loadScripts(scripts: ScriptData[]): Promise‹[unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown]›

Defined in packages/common-core/src/script-loader.ts:62

Parameters:

Name Type
scripts ScriptData[]

Returns: Promise‹[unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown]›