DayPilot.Kanban.contextMenuCard

The contextMenuCard property specifies a context menu for Kanban cards. To enable and define a context menu use a DayPilot.Menu class.

Declaration

DayPilot.Kanban.contextMenuCard

Default Value

null

Examples

JavaScript

const kanban = new DayPilot.Kanban("dp", {
  contextMenuCard: new DayPilot.Menu(),
  // ...
});
kanban.init();

Angular

<daypilot-kanban [config]="config"></daypilot-kanban>
config: DayPilot.KanbanConfig = {
  contextMenuCard: new DayPilot.Menu(),
  // ...
};

React

<DayPilotKanban
  contextMenuCard={contextMenuCard}
  {/* ... */}
/>
const contextMenuCard = new DayPilot.Menu();

Vue

<DayPilotKanban
  :contextMenuCard="contextMenuCard"
  <!-- ... -->
/>
const contextMenuCard = new DayPilot.Menu();

See Also

DayPilot.Kanban Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript