Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angularjs-rating-stars

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angularjs-rating-stars

Amazing rating stars directive for angular material

  • 1.0.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

AngularJS Rating Stars

Amazing AngularJS 1 Rating Stars directive that works with Angular Material.

Demo : https://embed.plnkr.co/q7pgHz/

Install :

npm

npm install angular-jk-rating-stars

bower

bower install angular-jk-rating-stars

Usage :

  • Add jk-rating-stars.js to your index file:
<script src="angular.js"></script>
<script src="jk-rating-stars.js"></script>
  • Add jk-rating-stars.css to your index file:
<link href="jk-rating-stars.css" rel="stylesheet" type="text/css" />
  • Add the google material icons
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  • Add a dependency to the jkAngularRatingStars module in your application.
angular.module('MyApp', ['jkAngularRatingStars']);
  • Add a jk-rating-stars tag to your html, set the amount of stars and bind a variable that will holds the selected value. If the maxRating variable is not set, we use the default of 5.
<jk-rating-stars max-rating="8" rating="ctrl.rating" read-only="ctrl.readOnly" shadow="false" reset-allowed="false" off-icon="star_border" off-color="false" on-rating="ctrl.onRating(rating)" >
</jk-rating-stars>

Atention :

This is not my project. I have uploaded it because the original link expired. The author of this project is Juan Morales, if you need help I can provide support.

License:

This module is released under the permissive MIT license. Contributions or suggestions are always welcome :D

angular-jk-rating-stars

Keywords

FAQs

Package last updated on 16 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc