UNPKG

v-calendar-ie11

Version:

A clean and extendable plugin for building simple attributed calendars in Vue.js.

26 lines (25 loc) 476 B
export const childMixin = { inject: ['sharedState'], computed: { defaults() { return this.$vc.defaults; }, masks() { return this.sharedState.masks; }, theme() { return this.sharedState.theme; }, locale() { return this.sharedState.locale; }, dayPopoverId() { return this.sharedState.dayPopoverId; }, }, methods: { format(date, mask) { return this.locale.format(date, mask); }, }, };