
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
ion-star-ratings
Advanced tools
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.0.0.
This library was generated with Angular CLI version 16.0.0.
npm i ion-star-ratings
import { IonStarRatingsComponent } from 'ion-star-ratings';
@Component({
standalone: true,
imports: [IonStarRatingsComponent]
})
<ion-star-ratings
activeIcon = "star"
defaultIcon = "star-outline"
activeColor = "#488aff"
defaultColor = "#f4f4f4"
[readonly]="false"
[halfStar]="false"
rating="3"
fontSize = "32px"
(ratingChanged)="onRatingChange($event)">
</ion-star-ratings>
<form>
component. <form [formGroup]="customForm">
<ion-star-ratings
activeIcon = "star"
defaultIcon = "star-outline"
activeColor = "#d1301a"
defaultColor = "#aaaaaa"
[readonly]="false"
[halfStar]="false"
fontSize = "32px"
(ratingChanged)="onRatingChange($event)"
formControlName="starRating">
</ion-star-ratings>
</form>
true
, default is set to false
. The rating value then steps by 0.5 instead of 1. Single tap on defaultIcon changes it to halfIcon , tap on halfIcon changes it to activeIcon and tap on activeIcon changes it to halfIcon again.false
, change to true
and make it read only. End user won't be able to change the rating then.<form>
componentTo get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
The MIT License (MIT). Please see License File for more information.
FAQs
## NPM
The npm package ion-star-ratings receives a total of 11 weekly downloads. As such, ion-star-ratings popularity was classified as not popular.
We found that ion-star-ratings 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.