The bubbleTask property (DayPilot.Bubble) specifies the bubble object used to show details for Gantt task boxes on hover.
Declaration
DayPilot.Gantt.bubbleTask
Default Value
new DayPilot.Bubble()
Notes
The default value enables task hover bubbles using a new DayPilot.Bubble instance.
Assign another bubble object when you want to customize the details shown for task boxes.
Examples
JavaScript
const gantt = new DayPilot.Gantt("dp", {
bubbleTask: new DayPilot.Bubble(),
// ...
});
gantt.init();
Angular
<daypilot-gantt [config]="config"></daypilot-gantt>
config: DayPilot.GanttConfig = {
bubbleTask: new DayPilot.Bubble(),
// ...
};
React
<DayPilotGantt
bubbleTask={bubbleTask}
{/* ... */}
/>
const bubbleTask = new DayPilot.Bubble();
Vue
<DayPilotGantt :bubbleTask="bubbleTask" <!-- ... --> />
const bubbleTask = new DayPilot.Bubble();
See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot