DayPilot.Bubble object used for showing event details.
dp.bubble = new DayPilot.Bubble({
cssOnly: true,
cssClassPrefix: "bubble_default",
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);
}
});