<divclass="desc">A loader for loading an [page:Image image].</div>
<divclass="desc">Unlike other loaders, this one emits events instead of using predefined callbacks. So if you're interested in getting notified when <em>things</em> happen, you need to add listeners to the object.</div>
<h2>Constructor</h2>
<h3>[name]()</h3>
<h3>[name]([page:LoadingManager manager)</h3>
<div>
todo
</div>
<h2>Events</h2>
<h3>load</h3>
<divclass="desc">
Dispatched when the image has completed loading
manager -- The [page:LoadingManager loadingManager] for the loader to use. Default is [page:LoadingManager THREE.DefaultLoadingManager].
</div>
<div>
content — loaded image
</div>
<h3>error</h3>
<divclass="desc">
Dispatched when the image can't be loaded
</div>
<div>
message — error message
Creates a new [name].
</div>
<h2>Properties</h2>
<h3>.[page:object crossOrigin]</h3>
<h3>.[page:string crossOrigin]</h3>
<div>
todo
The crossOrigin string to implement CORS for loading the url from a different domain that allows CORS.