Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rwu823/fat.js

A lightest placeholder
https://github.com/rwu823/fat.js

Last synced: about 1 month ago
JSON representation

A lightest placeholder

Awesome Lists containing this project

README

        

#fat.js

###How to Use
include `fat.js`
```html

```

Examples for HTML Tags:

A necessary parameter `width`x`height`
```html

```

All parameters are `width`x`height`&`background color`&`font color`
```html
Logo
```

###Javascript API
fat.js create a global variable `FatPlaceHolder`

###### setDefault
```js
// default settings
FatPlaceHolder.setDefault({
fontSize: 16,
color: '#999',
bg: '#ddd'
})
```

###### init
```js
// initialization all fat elements
FatPlaceHolder.init()
```

###### update
```js
// for the dynamic elements
FatPlaceHolder.update()
```