DayPilot.Scheduler.bubble

DayPilot.Bubble object used for showing event details.

Example

Simple bubble that displays DayPilot.Event.data.bubbleHtml value

dp.bubble = new DayPilot.Bubble();

Bubble with dynamically loaded content

dp.bubble = new DayPilot.Bubble({
  onLoad: function(args) {
      var ev = args.source;
      args.async = true;  // notify manually using .loaded()
      
      // simulating slow server-side load
      setTimeout(function() {
          args.html = "testing bubble for: <br>" + ev.text();
          args.loaded();
      }, 500);
  }
});

Related Properties

See Also

Main menu

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java