MooTools-Asset.Extras
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:A series of helper methods for the MooTools Asset library
# MooTools - Asset.Extras

Asset.Extras provides additional methods for pulling asset files in bulk for **HTML, JSON, JSONP, XML, CSS, JS and image files** all together.

Asset files can be batch loaded by extension or explicitly by type.

## Requirements

- MooTools 1.3+ (1.2+ works as well)
- MooTools More (Assets)
- MooTools-Asset.css-patch plugin ... https://github.com/matsko/MooTools-Asset.css-patch

## Browser Support

- Works in all browsers
- Minimal issues with Asset.css (outlined in https://github.com/matsko/MooTools-Asset.css-patch)

## Usage

Assets can be loaded as a collection or one by one.

### Single Assets

```javascript
Asset.load('./asset.js',{ //this will use the extension to figure out what asset to download

  'class' : '...',

  onLoad : function(asset,options) {
    //asset = "./asset.js";
    //options = {
    //  data : element, //scriptElement 



				
			
		
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。