Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
angular-input-stars
Advanced tools
Readme
With this directive you can build rating inputs easily.
Look! A demo!
bower install angular-input-stars
Inject it
angular.module('app', ['angular-input-stars'])
<input-stars max="5" ng-model="YourCtrl.property"></input-stars>
You can customize the base, empty, hover, and full and icon classes via attributes
<input-stars max="5" icon-base="fa fa-fw" icon-empty="fa-circle-o" icon-hover="hover" icon-full="fa-circle" ng-model="YourCtrl.property"></input-stars>
Unlike icon-base, on icon-full, icon-hover and icon-empty you must specify only one class, but that is all you need : ]
You can customize the list class to whatever you want
<input-stars max="5" list-class="shiny-list" ng-model="YourCtrl.property"></input-stars>
You can make it readonly thanks to @anjorinjnr
<input-stars max="10" list-class="shiny-list" ng-model="YourCtrl.property" readonly ></input-stars>
<input-stars max="10" list-class="shiny-list" ng-model="YourCtrl.property" readonly="true" ></input-stars>
<input-stars max="10" list-class="shiny-list" ng-model="YourCtrl.property" readonly="readonly" ></input-stars>
The .css file is optional and it is a bootstrap for customizations.
##Dependencies This directive uses FontAwesome as fallback if you don't specify any icon class.
MIT License © Rafael Mello Campanari
FAQs
AngularJS directive for rating inputs
The npm package angular-input-stars receives a total of 2 weekly downloads. As such, angular-input-stars popularity was classified as not popular.
We found that angular-input-stars demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.