Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

huzoorbux's avatar

vue-full-calendar not working refetch-events

I am using below method defined in package website.

refreshEvents() {
      this.$refs.calendar.$emit('refetch-events')
    },
  }
0 likes
5 replies
realrandyallen's avatar

@HUZOORBUX - Based on the documentation I don't think it's going to work how you expect unless you specify an event-sources

<full-calendar ref="calendar" :event-sources="eventSources"></full-calendar>

refetch-events() - Makes another JSON call to event sources

Check out the 'Using a JSON Feed' section

https://www.npmjs.com/package/vue-full-calendar

Please or to participate in this conversation.