Kelin2025 / vue-timers

Mixin to manage your intervals in Vue.js
MIT License
231 stars 17 forks source link

Use the 'methods' mixin merge strategy. #21

Closed jeremywohl closed 6 years ago

jeremywohl commented 6 years ago

By default, Vue will use the 'overwrite' strategy for custom options. For vue-timers, this means components with timers will ignore all timers coming from an added mixin. We switch to the 'methods' strategy, which merges the two sets of timers, favoring component keys where they match.

Kelin2025 commented 6 years ago

Hey, nice catch, thanks for your PR ;)