Skip to content

Commit 66c6893

Browse files
committed
Updated button and icon elements. FIxed compilation bug
Update of the button and icon elements to use the properties of the latest version of the framework Fixed a bug that caused an error when compiling the component within a project
1 parent f68cac8 commit 66c6893

35 files changed

+277
-434
lines changed

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

100755100644
Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
Highly customizable Ionic 5 component to display evaluations or a quick rating operation of something.
44

5-
6-
For Ionic 3 projects please check this package : https://www.npmjs.com/package/ionic3-star-rating
7-
8-
For Ionic 4 projects please check this package : https://www.npmjs.com/package/ionic4-star-rating
95
# How to use
106

117
## Step 1
@@ -412,14 +408,28 @@ export class SatisfactionSurveyPage implements OnInit, OnDestroy {
412408
}
413409
414410
ngOnInit() {
415-
this.ionicRatingSubscriptionService.getStartRatingChangedObservable().subscribe(value => {
411+
this.ionicRatingService.getStartRatingChangedObservable().subscribe(value => {
416412
417413
});
418414
}
419415
420416
ngOnDestroy() {
421-
this.ionicRatingSubscriptionService.getStartRatingChangedObservable().unsubscribe();
417+
this.ionicRatingService.getStartRatingChangedObservable().unsubscribe();
422418
}
423419
}
424420
```
421+
## Build
422+
423+
Run `ng build ionic-rating` to build the project. The build artifacts will be stored in the `dist/` directory.
424+
425+
## Publishing
426+
427+
After building your library with `ng build ionic-rating`, go to the dist folder `cd dist/ionic-rating` and run `npm publish`.
428+
429+
## Running unit tests
430+
431+
Run `ng test ionic-rating` to execute the unit tests via [Karma](https://karma-runner.github.io).
432+
433+
## Further help
425434

435+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

dist/components/ionic-rating-component.d.ts

Lines changed: 0 additions & 35 deletions
This file was deleted.

dist/components/ionic-rating-component.js

Lines changed: 0 additions & 133 deletions
This file was deleted.

dist/components/ionic-rating-component.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)