Comments (9)
@athoma13 Have you found a solution for this? I was able to use the component successfully for a few days. When I reinstalled all my nodules in a different machine it doesn't seem to work anymore.
@BioPhoton Hope you can help us :(
from angular-star-rating.
I was able to workaround the problem by doing the following:
rm -rf node_modules/angular-star-rating/node_modules
- comment out line 15 (moduleId: module.id) of node_modules\angular-star-rating\src\star-rating.component.ts
from angular-star-rating.
from angular-star-rating.
Sry for my long delay. I was on a log trip....
I released a new version. Also the docs are updated. And i added and updated example folder which shows the usage in code.
This update should alse solve #4 as my example is created with the latest cli.
Please let me know if it works now.
from angular-star-rating.
I just checked it, I had to download the zip version and put it manually in the node_modules folder.
So it did not work with the npm install version. But unfortunately it is still not working by using the star-rating-comp tag, it is obvious that something is there and you can see it in inspect too but there is nothing on the browser (using Chrome).
On the other hand, the css version of this project works pretty good, but it is a little hard to work with. But the interactive part is not working :(
I hope you will be able to resolve the issue
from angular-star-rating.
Hi @Zoly90 ,
I'm not sure why your npm install is not working. if i do npm install [email protected] --save
everything is in the node_modules/angular-star-rating
folder.
The other problem "invisible component" is that you forgot to copy the star icons into your assets folder.
I updated the install guide. Please check it out here and give me feedback about the text and if it is detailed enough to follow.
Thx for your time!
Best,
Michael
from angular-star-rating.
Thank you for your advice @BioPhoton, but unfortunately it is still invisible :(. Maybe I will be able to make it work at a later time.
Best of all,
Zoli
from angular-star-rating.
Hi @athoma13.
As i described in the readme you can import the library as follow:
// IMPORT YOUR LIBRARY
import { StarRatingModule } from 'angular-star-rating';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
// SPECIFY YOUR LIBRARY AS AN IMPORT
StarRatingModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
from angular-star-rating.
I updated the docs once more. Guess it's pretty clear now. Also 2.0.0 is out, so i will close it.
Feel free to reopen the issue.
from angular-star-rating.
Related Issues (20)
- Cannot read property 'toString' of null HOT 1
- How to remove the default tooltip? HOT 2
- How to disable tabindex? A rect focused border is annoying HOT 4
- Hover Color Stops Working for Green Stars HOT 1
- Upgrade to Angular 7.3 HOT 11
- Hover effect does not work when hoverEnabled, showHalfStar, readOnly property is set to true. HOT 1
- Support for floating numbers in rating.
- Unit Test in Reactive Form
- Custom size beyond small, medium, and large options HOT 2
- Support for Angular v9 HOT 2
- compound selectors may no longer be extended. SCSS needs update!!!! HOT 2
- Fix problem with eslint HOT 1
- Setup automated release
- Angular Stuck on Compiling HOT 3
- console.log made it into production HOT 3
- Cannot find the star-rating.scss at the path ~angular-star-rating/assets/scss/star-rating HOT 2
- Unable to use Library with Angular v.11 HOT 3
- No value accessor for form control with name HOT 1
- Required - Readonly mode in star rating component HOT 2
- Half star doesn't work after upgrading to Angular v16
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 angular-star-rating.