HubSpot / odometer

Smoothly transitions numbers with ease. #hubspot-open-source
http://github.hubspot.com/odometer/docs/welcome
MIT License
7.3k stars 712 forks source link

Unable to update theme at run time #126

Open SenthilKumaranC opened 8 years ago

SenthilKumaranC commented 8 years ago

I am using an angularJS directive which wraps this library. I need to change theme when meter is running based on some conditions. Is it possible to do? I have tried by binding theme variable with angularjs scope variable but it is not working.

Is there any function odometer.updateTheme(themeName) ?

angular wrapper: https://github.com/wallin/angular-odometer