nativescript-ui-calendar
Version:
Month, year, week and day views. Single, multiple and range date Selection. Special and disabled dates.
23 lines • 549 B
JavaScript
export default {
props: {},
template: `
<NativeRadCalendar
ref="calendar"
v-bind="$attrs"
v-on="$listeners">
<slot />
</NativeRadCalendar>
`,
methods: {
navigateForward() {
this.$refs.calendar.nativeView.navigateForward();
},
navigateBack() {
this.$refs.calendar.nativeView.navigateBack();
},
goToDate(date) {
this.$refs.calendar.nativeView.goToDate(date);
}
}
};
//# sourceMappingURL=component.js.map