search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Bubble not showing up

Asked by Anonymous
4 years ago.

My html bubble is not showing up. I was under the impression that all I had to do was populate the html property.

I have also added dp.bubble = new DayPilot.Bubble(); but nothing shows up.

Is there something I have done (or should have done) to make sure the bubble pops up.

DayPilot Pro for JavaScript 2019.2.3851

Answer posted by Dan Letecky [DayPilot]
4 years ago.

You can specify the event bubble content using "bubbleHtml" property. Assigning new DayPilot.Bubble() to dp.bubble is not necessary (it uses an empty Bubble object by default).

Example:

dp.events.list = [
 {
   id: 1,
   bubbleHtml: "Event details...",
    // ...
 }
];

The "html" property is used for the event box content (it overrides the "text" property if specified).

See also:
https://api.daypilot.org/daypilot-event-data/

Let me know if it didn't help.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.