bootsoon / ng-circle-progress

A simple circle progress component created for Angular based on SVG Graphics.
https://bootsoon.github.io/ng-circle-progress/
MIT License
250 stars 86 forks source link

Compatibility with angular 12 #170

Closed AhmedBreak-HM closed 1 year ago

AhmedBreak-HM commented 2 years ago

Can I use it with angular 12

majora2007 commented 2 years ago

Can confirm it works with Angular 13.

wzr1337 commented 2 years ago

It does NOT work for me (yet)

I am trying to use it with angular 13.. getting following Error:

Type NgCircleProgressModule does not have 'ɵmod' property.


    "@angular/common": "~13.2.2",
    "@angular/core": "~13.2.2",
    "@angular/forms": "~13.2.2",
    "@angular/platform-browser": "~13.2.2",
    "@angular/platform-browser-dynamic": "~13.2.2",
    "@angular/router": "~13.2.2",
    "@ionic/angular": "^6.0.0",
    "ng-circle-progress": "^1.6.0",

an then using:

@NgModule({
  imports: [
    IonicModule,
    CommonModule,
    FormsModule,
    ExploreContainerComponentModule,
    Tab1PageRoutingModule,
    NgCircleProgressModule.forRoot({
      // set defaults here
      radius: 100,
      responsive: false,
      startFromZero: false,
      animation: true,
      animationDuration: 200,
      space: 5
      }),
  ],
  declarations: [Tab1Page]
})