This is a migrated thread and some comments may be shown as answers.

TypeScript fix needed

1 Answer 66 Views
ProgressBar
This is a migrated thread and some comments may be shown as answers.
Seyfor
Top achievements
Rank 1
Seyfor asked on 31 Aug 2016, 10:00 AM

Hi. There is an error in ProgressBarOptions definitions for value property:

interface ProgressBarOptions {
        name?: string;
        animation?: ProgressBarAnimation;
        chunkCount?: number;
        enable?: boolean;
        max?: number;
        min?: number;
        orientation?: string;
        reverse?: boolean;
        showStatus?: boolean;
        type?: string;
        value?: number;  //should be number | boolean!!!!
        change?(e: ProgressBarChangeEvent): void;
        complete?(e: ProgressBarCompleteEvent): void;
    }

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 01 Sep 2016, 07:34 AM

Hello Matjaž,

Thank you for noticing this. Indeed the value option should allow boolean values too.

Regards,
Dimiter Madjarov
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
ProgressBar
Asked by
Seyfor
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or