mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Scrolltotop added to plugin
This commit is contained in:
parent
3eac7d6658
commit
a6de96f5fb
9 changed files with 28 additions and 11 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue