Example: Plugin

In this example, a PreloadJS plugin is defined, which parses a load item into an HTML image ID that is already present in the HTML DOM. PreloadJS will then use the image to do the loading, and the image will be displayed in its defined position when it is loaded.