@ff0000-ad-tech/ad-load
v3.0.1
Published
[![npm (tag)](https://img.shields.io/npm/v/@ff0000-ad-tech%2Fad-load.svg?style=flat-square)](https://www.npmjs.com/package/@ff0000-ad-tech%2Fad-load) [![GitHub issues](https://img.shields.io/github/issues/ff0000-ad-tech/ad-load.svg?style=flat-square)](htt
Downloads
119
Readme
RED Interactive Agency - Ad Technology
ad-load
A package to handle all loading types and formats
API
Loader
- new Loader(target, arg)
- .add(arg)
- .load()
- .getAllContent() ⇒ array
- .getAllContentRaw() ⇒ array
- .getLoader(id) ⇒ Loader
LoaderUtils
- .createXMLHttpRequest() ⇒ XMLHttpRequest
- .getFileName(url) ⇒ string
- .getFontName(url) ⇒ string
- .getFileType(url) ⇒ string
- .getFullUrl(prepend, file, platformGetUrl) ⇒ string
- .getUrlPrepend(path) ⇒ string
- .getParamsFromData(query) ⇒ string
DataLoader
- new DataLoader(target, arg)
- .load()
FontLoader
- new FontLoader(target, arg)
- .load()
ImageLoader
- new ImageLoader(target, arg)
- .load()
InlineLoader
- new InlineLoader(target, arg)
- .load()