{"repo":"MurhafSousli/ngx-bar-rating","free":true,"listed":false,"github":"https://github.com/MurhafSousli/ngx-bar-rating","clone":"git clone https://github.com/MurhafSousli/ngx-bar-rating.git","description":"Angular Bar Rating","language":"TypeScript","stars":218,"topics":["angular","bar","rating","rate","stars","bar-rating"],"license":"MIT","category":"ui-components","readme_excerpt":"Angular Bar Rating Minimal, light-weight Angular ratings. If you like this plugin, please give it a star ⭐. Table of Contents - Live Demo - Installation - Usage - Options - Click Effect - CSS Variables - Themes - Issues - Author Installation Install it with npm Basic usage: Import BarRating or BarRatingModule in your component imports. Import the theme in your global styles (unless you want to use custom template) Rating inputs and outputs: Name Description Default ------------------ ---------------------------------------------------------------------- --------- [rate] Current rating. Can be a decimal value like 3.14 null [max] Maximal rating that can be given using this widget 5 [theme] Theme class, see available themes default [readonly] A flag that indicates if rating can be changed false [showText] Display rating title if available, otherwise display rating value false [required] A flag that indicates if rating is disabled. works only with forms false [disabled] A flag that indicates if rating is disabled. works only with forms false [titles] Titles array. array should represent all possible values including 0 [] (rateChange) A stream that emits when the rating value is changed Custom rating template BarRatingModule provides a couple of directives to set custom rating template of your choice. - ratingActive : Set template, when a bar/star is active or hovered. - ratingInactive : Set template, when a bar/star is inactive. - ratingFraction : Set template, when a bar/star i","default_branch":null,"files":null,"tree":[],"storefront":"/r/MurhafSousli","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MurhafSousli/ngx-bar-rating/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}