Get started with Kalendae CDN

MIT licensed

Kalendae is a lightweight library for building custom date pickers.

Tags:
  • datepicker

Stable version

Copied!

How to start using Kalendae CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with Kalendae CDN - cdnhub.io</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/kalendae.min.css">
  <script src="https://cdn.cdnhub.io/Kalendae/1.0.2/kalendae.standalone.min.js"></script>
</head>
<body>
  <div id="calendar"></div>
  <script>
    const calendarEl = document.getElementById('calendar');
    new window.Kalendae(calendarEl, {
      plugins: ['daygrid', 'timegrid'],
      initialDate: '2023-03-01',
      selectable: true,
      select: function(info) {
        console.log('Selected date:', info.selectInfo.start);
      }
    });
  </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions