Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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风格的评分插件
- Host: GitHub
- URL: https://github.com/photino/amazeui-rating
- Owner: photino
- License: mit
- Created: 2016-09-26T07:23:23.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-27T08:33:24.000Z (about 8 years ago)
- Last Synced: 2024-09-27T09:13:35.947Z (3 months ago)
- Topics: amazeui, amazeui-plugin, javascript
- Language: JavaScript
- Homepage: http://photino.github.io/amazeui-rating/
- Size: 728 KB
- Stars: 6
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
});
});
```