Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rwu823/fat.js
- Owner: rwu823
- License: mit
- Created: 2013-10-19T09:20:04.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-19T17:05:20.000Z (about 11 years ago)
- Last Synced: 2024-04-09T22:53:41.833Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 121 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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()
```