Skip to content

Commit 0d8baa8

Browse files
authored
Update progressbar.component.ts
1 parent 821e5e1 commit 0d8baa8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

projects/igniteui-angular/src/lib/progressbar/progressbar.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ export class IgxLinearProgressBarComponent extends BaseProgress {
354354
/**
355355
*Set the position that defines if the text should be aligned above the progress line. By default is set to false.
356356
*```html
357-
*<igx-linear-bar type="danger" [textTop]="true"></igx-linear-bar>
357+
*<igx-linear-bar type="error" [textTop]="true"></igx-linear-bar>
358358
*```
359359
*/
360360
@Input()
@@ -370,9 +370,9 @@ export class IgxLinearProgressBarComponent extends BaseProgress {
370370
public text: string;
371371

372372
/**
373-
*Set type of the `IgxLinearProgressBarComponent`. Possible options - `default`, `success`, `info`, `warning`, and `danger`.
373+
*Set type of the `IgxLinearProgressBarComponent`. Possible options - `default`, `success`, `info`, `warning`, and `error`.
374374
*```html
375-
*<igx-linear-bar [striped]="false" [max]="100" [value]="0" type="danger"></igx-linear-bar>
375+
*<igx-linear-bar [striped]="false" [max]="100" [value]="0" type="error"></igx-linear-bar>
376376
*```
377377
*/
378378

@@ -445,7 +445,7 @@ export class IgxLinearProgressBarComponent extends BaseProgress {
445445
* @hidden
446446
*/
447447
@HostBinding('class.igx-linear-bar--danger')
448-
public get danger() {
448+
public get error() {
449449
return this.type === IgxProgressType.ERROR;
450450
}
451451

0 commit comments

Comments
 (0)