Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/photino/amazeui-rating

Amaze UI风格的评分插件
https://github.com/photino/amazeui-rating

amazeui amazeui-plugin javascript

Last synced: about 1 month ago
JSON representation

Amaze UI风格的评分插件

Awesome Lists containing this project

README

        

# Amaze UI Rating

- [使用示例](http://photino.github.io/amazeui-rating/docs/demo.html)

## 使用说明

1. 获取 Amaze UI Rating

- [直接下载](https://github.com/photino/amazeui-rating/archive/master.zip)
- 使用 NPM: `npm install amazeui-rating`

2. 引入 Rating 插件(`dist` 目录下的 JS):

```html


```

3. 初始化 Rating:

Amaze UI Rating 也支持Data API。

```js
$(function() {
$('#rating').rating({
icons: ['star-o', 'star'],
scale: 5,
score: 2
});
});
```