GeoffZhu / vue-event-calendar

A simple events calendar for Vue2, no dependencies except Vue2.
http://geoffzhu.cn/vue-event-calendar/
635 stars 228 forks source link

How to change the background color dynamically #106

Closed empty-back closed 6 years ago

empty-back commented 6 years ago

Vue.use(vueEventCalendar, {locale: 'zh',color: 'red'}) will init vueEventCalendar, but right now i need change color form 'red' to xxx, xxx is dynamic. How to do that?I've tried Vue.use(vueEventCalendar, {locale: 'zh',color: this.testColor})but can't reinitialize it.Writing it to a function does not register the component image

empty-back commented 6 years ago

work out