SaroVin
SaroVin

Reputation: 1773

QTip with Fullcalendar on eventMouseover

this is the right way for a qtip? Don't work for me.

eventMouseover: (event, jsEvent, view ) ->
  $(this).qtip
    content:
      text: event.description
    ready: true
    style:
      classes: "custom-class" # Custom class method or...

We can see the js.coffee -> http://pastebin.com/mNxJmZJe

I use the qTip2 v2.2.0 and jQuery v1.10.2

Upvotes: 0

Views: 2972

Answers (1)

jcarlo
jcarlo

Reputation: 21

Based on FullCalendar documentation qtip is being used the following way:

    $('#calendar').fullCalendar({
    events: [
        {
            title: 'My Event',
            start: '2010-01-01',
            employee: 'name'
        }
        // more events here
    ],
    eventRender: function(event, element) {
        element.qtip({
            content: event.employee
        });
    }
});

Here's a link to the documentation regarding qtip: http://arshaw.com/fullcalendar/docs/event_rendering/eventRender/

I hope this helps.

Upvotes: 1

Related Questions