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

ngx-rating-stars

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-rating-stars

A simple rating stars component

  • 0.0.2
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

ngx-rating-stars

ngx-rating-stars is a library that show stars rating #Installation npm install ngx-rating-star

Usage

ngmodule

//...
import { NgxRatingStarsModule } from 'ngx-rating-stars'

@NgModule({
  //...
  imports: [
    NgxRatingStarsModule
  ]
})
export class AppModule { }

template

<lib-NgxRatingStars [rating]="rating" [size]="size"></lib-NgxRatingStars>

component

export class AppComponent {

    rating = {
        value:3.5,
        count:12
    }

    size = {
        starsStyle: {'height' : '22px', 'width' : '22px'},
        ratingStyle: {'font-size' : '18px'},
        countStyle: {'font-size' : '14px'}
    }

}

#Author Andrea Di Cioccio

Keywords

FAQs

Package last updated on 19 Nov 2020

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