Angular SVG round progressbar not work for Ionic

回眸只為那壹抹淺笑 提交于 2019-12-05 06:56:28

Update: You need to use an older version as shown below.The current version has an issue where I have mentioned below.

npm install angular-svg-round-progressbar@1.1.1 --save

Working Git Repo is here

You just need to add it to your page's module as shown below.

home.module.ts

import {RoundProgressModule} from 'angular-svg-round-progressbar';

@NgModule({
  declarations: [
    HomePage,
  ],
  imports: [
    IonicPageModule.forChild(HomePage),
    RoundProgressModule
  ],
})
export class HomePageModule { }

Note:

It seems to have a new issue with this module.I have logged it. We have to wait till they'll give the solution.Git issue is here.

Try to add schema in module component and check

    @NgModule({
      imports: [RoundProgressModule],
schemas: [ CUSTOM_ELEMENTS_SCHEMA ]
    })
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!