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

ProgressBar animation

2 Answers 43 Views
ProgressBar
This is a migrated thread and some comments may be shown as answers.
mudi
Top achievements
Rank 1
Veteran
mudi asked on 06 May 2020, 06:04 AM

How do I control the animation duration in this case. What's the k-option? 

<div kendo-progress-bar="progressBar" k-options="options" ng-model="progress"                      style="width: 100%;">                                     </div>

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Nencho
Telerik team
answered on 07 May 2020, 01:59 PM

Hello, Mudi,

In order to set the needed duration through the options, you can use the following approach:

$scope.options = { animation: {duration: 4000}};

$scope.animation = {duration: 2000};

Examples can be found below:

https://dojo.telerik.com/iGEyiPEM

https://dojo.telerik.com/@nenchef/ihApeJET/3

Hope this would help.

Regards,
Nencho
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
mudi
Top achievements
Rank 1
Veteran
answered on 15 May 2020, 09:35 AM
thanks that worked
Tags
ProgressBar
Asked by
mudi
Top achievements
Rank 1
Veteran
Answers by
Nencho
Telerik team
mudi
Top achievements
Rank 1
Veteran
Share this question
or