how to create circular progress bar in ionic 3. i am new in ionic. i already tried to install
npm install jquery-circle-progress
package link here
it installed perfect but i am confuse that how to use it in ionic? please guide me.Thanks in advance
Update:
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { ProfilePage } from './profile';
import { RoundProgressComponent } from 'angular-svg-round-progressbar';
@NgModule({
declarations: [ ProfilePage, ],
imports: [IonicPageModule.forChild(ProfilePage), ], })
export class ProfilePageModule {}
In Figma, you can make a Circular Progress Bar using the following steps: Click on the '+' sign in the left panel to create a new frame. In the new frame, select the oval shape tool from the toolbar. Click and drag on the canvas to create a circle.
Update: 06-11-2017
This is not working with the latest version (1.2.0
). But it is working fine with npm install [email protected] --save
.
Working git repo:
Another Answer is here
Old Answer:
You can't use above mentioned jquery progress bar with Ionic.You have to use an Angular module for that.
Here is the one which you can use.
Demo
Git Repo
Steps:
npm install angular-svg-round-progressbar --save
After that you need to import the RoundProgressModule
in your module
as shown below:
import {NgModule} from '@angular/core';
import {RoundProgressModule} from 'angular-svg-round-progressbar';
@NgModule({
imports: [RoundProgressModule]
})
export class YourModule {};
Update:
import { RoundProgressComponent } from 'angular-svg-round-progressbar';
@NgModule({
declarations: [ ProfilePage, ],
imports: [IonicPageModule.forChild(ProfilePage),
RoundProgressModule],
})
export class ProfilePageModule {}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With