Module: AssetLoader

Methods

(static) loadAsset(dataURL, id, unsafe)

Loads a data url and returns the resulting element, font face, or when the type is unrecognized, a fetch response.

Parameters:
Name Type Description
dataURL String
id String
unsafe Boolean

load assets directly into the DOM

Source: