izupet / angular2-counto

Angular 2 package for nice count animations
MIT License
40 stars 13 forks source link

Not working with Angular 6.0.3 #21

Closed navcoder6 closed 6 years ago

navcoder6 commented 6 years ago

I have installed using npm and imported the "CountoModule" in app.module.ts. But still on running browser is giving error : - Can't bind to 'step' since it isn't a known property of 'div'. (" True Alarms Count <div counto [ERROR ->][step]="30" [countTo]="10" [countFrom]="0" [duration]="4" class="true-alarm-color group-alarm-tile-co"):

izupet commented 6 years ago

Looks like you didn't import it right.. Not enough info to help you more.

navcoder6 commented 6 years ago

Yeah it was something to do with the module structure that I had. I has to import it another module rather than app.module. Closing this issue.