Browse Source

set lib attribute "animatedValue" to "true" in analogue-gauge.models.ts

pull/3551/head
Serhii Mikhnytskyi 6 years ago
committed by Andrew Shvayka
parent
commit
dbf8bf6733
  1. 3
      ui-ngx/src/app/modules/home/components/widget/lib/analogue-gauge.models.ts

3
ui-ngx/src/app/modules/home/components/widget/lib/analogue-gauge.models.ts

@ -1002,7 +1002,8 @@ export abstract class TbAnalogueGauge<S extends AnalogueGaugeSettings, O extends
// animations
animation: settings.animation !== false && !this.ctx.isMobile,
animationDuration: (isDefined(settings.animationDuration) && settings.animationDuration !== null) ? settings.animationDuration : 500,
animationRule: settings.animationRule || 'cycle'
animationRule: settings.animationRule || 'cycle',
animatedValue: true
} as O;
this.prepareGaugeOptions(settings, gaugeData);

Loading…
Cancel
Save