Scrolltotop added to plugin

This commit is contained in:
Bahadir Sofuoglu 2022-09-12 13:35:24 +03:00
parent 3eac7d6658
commit a6de96f5fb
9 changed files with 28 additions and 11 deletions

View file

@ -4,7 +4,7 @@
<script>
import '@fullcalendar/core/vdom'; // vite support
import {Calendar} from '@fullcalendar/core';
import { Calendar } from '@fullcalendar/core';
export default {
name: 'FullCalendar',
@ -46,8 +46,8 @@ export default {
},
methods: {
initialize() {
let defaultConfig = {themeSystem: 'standard'};
let config = this.options ? {...this.options, ...defaultConfig} : defaultConfig;
let defaultConfig = { themeSystem: 'standard' };
let config = this.options ? { ...this.options, ...defaultConfig } : defaultConfig;
this.calendar = new Calendar(this.$el, config);
this.calendar.render();
@ -57,8 +57,7 @@ export default {
}
}
}
}
};
</script>
<style>
</style>
<style></style>