The DayPilot.Bubble constructor creates a bubble instance that can display custom HTML for supported DayPilot objects.
new DayPilot.Bubble([config])config (object) - optional configuration object that specifies properties and event handlers.
Use the config object to define bubble options such as zIndex and handlers such as onLoad that generate the bubble HTML on demand.
After creating the instance, assign it to the appropriate bubble-related property of the DayPilot component that should display it.
Constructor using the default configuration:
const bubble = new DayPilot.Bubble();Custom configuration:
const bubble = new DayPilot.Bubble({
zIndex: 500,
onLoad: (args) => {
args.html = args.source.data.text;
}
});Bubble [doc.daypilot.org]