Skip to content

Commit 47de23f

Browse files
committed
refactor(circular progress): change method names
1 parent ec63991 commit 47de23f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/data-display/circular-progressbar/circular-dynamic-sample/circular-dynamic-sample.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
</igx-circular-bar>
1717

1818
<div class="button-container">
19-
<button igxButton="icon" (click)="removeProgress()">
19+
<button igxButton="icon" (click)="decrementProgress()">
2020
<igx-icon fontSet="material">remove</igx-icon>
2121
</button>
22-
<button igxButton="icon" (click)="addProgress()">
22+
<button igxButton="icon" (click)="incrementProgress()">
2323
<igx-icon fontSet="material">add</igx-icon>
2424
</button>
2525
</div>

src/app/data-display/circular-progressbar/circular-dynamic-sample/circular-dynamic-sample.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ export class CircularDynamicSampleComponent implements OnInit {
1313
this.currentValue = 0;
1414
}
1515

16-
public addProgress() {
16+
public incrementProgress() {
1717
this.currentValue += 10;
1818
if (this.currentValue > 100) {
1919
this.currentValue = 100;
2020
}
2121
}
2222

23-
public removeProgress() {
23+
public decrementProgress() {
2424
this.currentValue -= 10;
2525
if (this.currentValue < 0) {
2626
this.currentValue = 0;

0 commit comments

Comments
 (0)