dynamicModules

This module controls the loading of dynamically imported modules. This is code that is not part of the initial player load, and may not be immediately available. This api controls whether those modules should load or not, and tracks whether they have been loaded.

Methods

(static) isLoaded(name) → {Boolean}

Is this dynamic module loaded or not.

Parameters:
Name Type Description
name Sting

module name

Returns:
Type
Boolean

(static) load(name)

Load the dynamic module (if it hasn't already been loaded). Also available as whenLoaded.

Parameters:
Name Type Description
name String