-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't bind to 'current' since it isn't a known property of 'round-progress' #170
Comments
Getting same error. Any update on this issue? |
That error means that you haven't included the |
It needs to be added to the @NgModule declaration in app.module.ts to function correctly. Perhaps this could be expanded on in the docs. |
This is covered under the |
Hey I did and in my app.module.ts:
Any idea what's happening? |
You have to import the module in your page.module.ts too ;-) |
Same error here. I've import the module in app.module.ts, home.module.ts and also I tried to import in home.ts, but still not working. |
As tmdevde said, you need to import in home.module.ts, not home.ts |
Hi I am trying to implement this in my app(Ionic 3) but it gives this error.
Error: Template parse errors:
Can't bind to 'current' since it isn't a known property of 'round-progress'.
My code is
home.ts -
import { NgModule } from '@angular/core'; import { RoundProgressModule, RoundProgressConfig } from 'angular-svg-round-progressbar'; @IonicPage() @Component({ selector: 'page-ownerhome', templateUrl: 'ownerhome.html', }) @NgModule({ imports: [RoundProgressModule] }) export class OwnerhomePage { current: any; max: any;
home.html -
<ion-header> <ion-navbar color="danger"> <ion-title>Home</ion-title> </ion-navbar> </ion-header> <ion-content padding> <ion-item> <round-progress [current]="current" [max]="max"></round-progress> </ion-item> </ion-content>
inside package.json -
"angular-svg-round-progressbar": "^1.2.1",
app.module.ts -
import { RoundProgressModule } from 'angular-svg-round-progressbar'; imports: [ BrowserModule, RoundProgressModule, IonicModule.forRoot(MyApp) ],
The text was updated successfully, but these errors were encountered: