相关疑难解决方法(0)

Angular SVG圆形进度条不适用于Ionic

Angular SVG round progressbar为我的离子项目阅读并安装了这个,但它对我不起作用,
https://github.com/crisbeto/angular-svg-round-progressbar

如何正确添加此页面?请帮我解决这个显示此错误

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
Run Code Online (Sandbox Code Playgroud)

压制此消息.3.要允许任何属性将"NO_ERRORS_SCHEMA"添加到此组件的"@NgModule.schemas".("

  <round-progress [ERROR ->][current]="48" [max]="100"></round-progress>
</ion-content>

")
Run Code Online (Sandbox Code Playgroud)

谢谢

我的页面为我添加了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)

typescript ionic-framework ionic2 ionic3 angular

7
推荐指数
1
解决办法
5421
查看次数

标签 统计

angular ×1

ionic-framework ×1

ionic2 ×1

ionic3 ×1

typescript ×1