径向进度条到离子v.2?

时间:2022-06-14 23:00:06

I need a radial progress bar Ionic. V.2, but found only for Ionic v.1 (https://github.com/tgarlanger/ion-radial-progress).

我需要一个径向进度条离子。v. 2,但只用于离子v。1(https://github.com/tgarlanger/ion-radial-progress)。

Has anyone done or figured out how to do it?

有人做过或者想出了怎么做吗?

1 个解决方案

#1


2  

I know it's too late. But, it might help someone else. I was looking for same kind of thing and found this. Worked like a charm! Follow the instructions on this link: https://github.com/crisbeto/angular-svg-round-progressbar and import the module like this =>

我知道已经太晚了。但是,它可能会帮助其他人。我在找同样的东西,发现了这个。工作就像一个魅力!按照这个链接上的说明:https://github.com/crisbeg - to/angular- svround progressbar,然后像这样导入模块=>

import { RoundProgressModule } from "angular-svg-round-progressbar/dist";

@NgModule({
  imports: [
    RoundProgressModule
  ]
})

Notice: import statement is the important part which I have demonstrated above. Copy the import statement from above, not from the link. Other instructions are very clear on that github page.

注意:导入语句是我在上面演示过的重要部分。从上面复制导入语句,而不是从链接中复制。github页面上的其他指令非常清晰。

#1


2  

I know it's too late. But, it might help someone else. I was looking for same kind of thing and found this. Worked like a charm! Follow the instructions on this link: https://github.com/crisbeto/angular-svg-round-progressbar and import the module like this =>

我知道已经太晚了。但是,它可能会帮助其他人。我在找同样的东西,发现了这个。工作就像一个魅力!按照这个链接上的说明:https://github.com/crisbeg - to/angular- svround progressbar,然后像这样导入模块=>

import { RoundProgressModule } from "angular-svg-round-progressbar/dist";

@NgModule({
  imports: [
    RoundProgressModule
  ]
})

Notice: import statement is the important part which I have demonstrated above. Copy the import statement from above, not from the link. Other instructions are very clear on that github page.

注意:导入语句是我在上面演示过的重要部分。从上面复制导入语句,而不是从链接中复制。github页面上的其他指令非常清晰。