Comments (1)
Hi @AmandaBarton Yes you can do this with css. copy the following in your global style
.br-{theme-name} .br-units {
flex-wrap: wrap !important;
justify-content: center;
}
.br-{theme-name} .br-unit {
flex: 0 1 18%;
}
<bar-rating name="rating" [(rate)]="userRate" [theme]="'horizontal'" [max]="10"
[showText]="true" [titles]="['Bad', 'Mediocre' , 'Good', 'Awesome']">></bar-rating>
replace {theme-name}
with the name of the theme you are using, here is a plunker.
from ngx-bar-rating.
Related Issues (20)
- 'bar-rating' is not a known element, Angular 9 HOT 1
- Error not compatible with Angular Ivy HOT 3
- Property 'rate' does not exist HOT 2
- Support for angular 10 HOT 1
- Custom decimal rating
- Angular 11 HOT 1
- how to Add a min attribute HOT 3
- User should be able to select randomly stars lets say only star 2& 3 HOT 1
- No output to browser when implementing this library HOT 7
- Unable to show fractional value like 3.7 or 4.2 HOT 1
- Angular 12 HOT 2
- Support Float Number for example: 2.6 or 3.4 for fill stars HOT 1
- Angular 13
- Support for Angular 12
- bar-rating is not a known element HOT 1
- rateChange is automatically called when page is loaded. HOT 3
- Hi i use the custom template pokemon design is there a way to select 1 pokemon in 5 the
- Use the custom template pokemon select 1 pokemon only
- --br-font-size is not working on angular HOT 3
- Rating bar invisible in angular 17 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-bar-rating.