Try Install Learn Blog API Packages GitHub
Pages

AssetLoader

Functions for loading assets (JavaScripts, CSS) asyncronously.

Functions

loadAll
(
method
:
Function(String, Promise(Never, Void))
urls
:
Array(String)
)
:
Promise(Never, Void)

Waits for all promises to load.

loadScript
(
url
:
String
)
:
Promise(Never, Void)

Loads the script from the given URL.

loadStyle
(
url
:
String
)
:
Promise(Never, Void)

Loads the stylesheet from the given URL.