Giter Club home page Giter Club logo

Comments (9)

fanfanyir avatar fanfanyir commented on August 16, 2024 2

<FullCalendar :datesRender="datesRender"/>

from fullcalendar-vue.

Clago avatar Clago commented on August 16, 2024 1

listen datesRender.

from fullcalendar-vue.

rjsnh1522 avatar rjsnh1522 commented on August 16, 2024 1

<FullCalendar :datesRender="datesRender"/>

Its not working for me.
can u please tell more

from fullcalendar-vue.

Clago avatar Clago commented on August 16, 2024

don't use default header prev,next;
get html out and bind event just like this

<div class="fc-button-group" style="float:right;">
     <button @click="prev" type="button" class="fc-prev-button fc-button fc-button-primary" aria-label="prev"><span class="fc-icon fc-icon-chevron-left"></span></button>
     <button @click="next" type="button" class="fc-next-button fc-button fc-button-primary" aria-label="next"><span class="fc-icon fc-icon-chevron-right"></span></button>
   </div>
   <FullCalendar
     class='demo-app-calendar'
     ref="fullCalendar"
     defaultView="dayGridMonth"
     :header="{
        left:'',
        center: 'title',
        right: '',
      }"
     event-color="red"
     :plugins="calendarPlugins"
     :weekends="calendarWeekends"
     :locale="zhLocale"
     :events="events"
     @dateClick="handleDateClick"
   />

from fullcalendar-vue.

ejntaylor avatar ejntaylor commented on August 16, 2024

This is possible and I put my answer on SO: https://stackoverflow.com/questions/56622852/next-and-previous-month-watcher-in-vue-fullcalendar?noredirect=1#comment99828700_56622852

from fullcalendar-vue.

oliver661 avatar oliver661 commented on August 16, 2024

Listeing on datesRender will take the warning as Use of datesRender as an event is deprecated. Please convert to a prop. while non prop could be processed without any event...💔

from fullcalendar-vue.

bhaskar-nair2 avatar bhaskar-nair2 commented on August 16, 2024

They should really not convert datesRender into a prop, as that would make no sense. Having it as an emit will help us listen to changes easily.

from fullcalendar-vue.

oliver661 avatar oliver661 commented on August 16, 2024

They should really not convert datesRender into a prop, as that would make no sense. Having it as an emit will help us listen to changes easily.

I finally made it away by :eventRender="v => onEventRender(v)" which is meaningless.

from fullcalendar-vue.

jabirbarber-giacom avatar jabirbarber-giacom commented on August 16, 2024

Any updates on this for v5?
What is the correct way of listening to date changes?

from fullcalendar-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.