Object ng.Assets vs. 1.1.0 Full+Lite

The ng.Assets object is a collection of functions that help in loading and managing files and assets.

Properties

Function ng.Assets.load (fle, onload) vs. 1.1.0 Full+Lite
Load a file and run the onload function after the file is loaded.
Function ng.Assets.load_script (src, onload) vs. 1.1.0 Full+Lite
Loads a JavaScript file and run the onload function after the file is loaded.
Function ng.Assets.load_style (src) vs. 1.1.0 Full+Lite
Loads a CSS Style file.
Function ng.Assets.load_image (src, onload) vs. 1.1.0 FULL ONLY
Load an Image (jpg, gif or png format) and run the onload function after the file is loaded.
Function ng.Assets.load_images (src_arr, onload, each_img) vs. 1.1.0 FULL ONLY
Loads a list of images (in an array) and run the onload functions afterwards.