我Angular SVG round progressbar
为我的离子项目阅读并安装了这个,但它对我不起作用,
https://github.com/crisbeto/angular-svg-round-progressbar
如何正确添加此页面?请帮我解决这个显示此错误
Run Code Online (Sandbox Code Playgroud)Error: Template parse errors: Can't bind to 'current' since it isn't a known property of 'round-progress'. 1. If 'round-progress' is an Angular component and it has 'current' input, then verify that it is part of this module. 2. If 'round-progress' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component
压制此消息.3.要允许任何属性将"NO_ERRORS_SCHEMA"添加到此组件的"@NgModule.schemas".("
Run Code Online (Sandbox Code Playgroud)<round-progress [ERROR ->][current]="48" [max]="100"></round-progress> </ion-content> ")
谢谢
我的页面为我添加了home.html
<round-progress
[current]="current"
[max]="max"
[color]="'#45ccce'"
[background]="'#eaeaea'"
[radius]="125"
[stroke]="20"
[semicircle]="true"
[rounded]="true" …
Run Code Online (Sandbox Code Playgroud)