Git Product home page Git Product logo

lwc-fullcalendar's People

Contributors

markslott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

lwc-fullcalendar's Issues

handleEventClick isn't called from "Event Popover"

It's possible I'm missing something but after a few hours of testing and doc reading I seem to be coming up empty.

On the dayGridMonth view, if an eventLimit is specified in order to render a "more events" style link and a popover, clicking on the events in the popover does not trigger the handleEventClick method. The popover closes, so the click is being detected, but the handleEventClick doesn't appear to be called before of after the popover is destroyed.

Worth noting, rolling over the events in the popover continues to trigger the eventMouseEnter event.

Timeline view not display

I am try to display timeline view using this code. I am change initial view as a resourceTimeline view but it does not work.Fullcalender does not show resourcetimeline view. Please suggest me further changes.

selectable breaks calendar

Enabling selectable causes component to stop working. If you test your code after adding this to the init...
selectable: true,
selectMinDistance: 200,

  1. deploy it
  2. then check the different views 1 day, 7 days, 30 days. - works properly
  3. drag and select on days (in month view) - nothing is highlighted as shows on fullcalendar.io demo.
  4. check the different views 1 day, 7 days, 30 days. - none work any longer.

Event is 2 hours off in calendar view

I've downloaded and installed this fullcalendar LWC and tied it to a custom object that has a start/end datetime. When I view the calendar it appears 2 hours off. The event has a start datetime of 7:00 PM but on the calendar the event displays as 9pm. My user time zone is set to the same as the company (-6 Denver)

Capture

handleEventClick is not getting called

Hi @markslott ,
I am unable to listen to the event which I am calling from custombutton in fullcalendar I tried with connecteCallback() and constructor()
it did not work for me
Event Listner :
tried 1:

connectedCallback() {
console.log('Inside connected callback');
this.addEventListener('closebutton', this.handleEventClick.bind(this));
}

tried 2:

constructor() {
super();
this.addEventListener('closebutton', this.handleEventClick.bind(this));
}

Event Called from

customButtons: {
reBook: {
text: 'Confirm Rebook',
click:function(info) {
rebookAppointment({
appointmentId:appointmentId,
timeslotId:selectedEventId,
}).then(result =>{
console.log("result");
console.log(result);
if (result.successMessage='Appointment Rebook Successfully'){
alert(result.successMessage);

                      const closeEvent = new CustomEvent('closebutton', { detail: info });
                      console.log("closebutton click",info);
                      this.dispatchEvent(closeEvent);
                    } 
                  
                }).catch(error => {
                    console.log("error", error);
                });
                calendar.refetchEvents()
                calendar.rerenderEvents() 
              }
            },

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.