DayPilot.Queue.init

The init() method initializes and displays the Queue component.

Declaration

DayPilot.Queue.init();

Example

<div id="dp"></div>

<script>
  var dp = new DayPilot.Queue("queue");
  dp.events.list = [
    { id: 1, text: "Task 1", duration: DayPilot.Duration.ofHours(5)}
  ];
  dp.init();
</script>