Get started with xel CDN

MIT licensed

XEL is a lightweight library for creating custom, touch-friendly scrolling experiences.

Tags:
  • material
  • design
  • widget
  • toolkit
  • electron
  • nwjs
  • nw.js
  • macOS
  • desktop
  • ui
  • button
  • tabs
  • card
  • menu
  • menubar
  • checkbox
  • radio
  • switch
  • select
  • dialog
  • drawer
  • popover
  • slider
  • throbber

Stable version

Copied!

How to start using xel CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with xel CDN - cdnhub.io</title>
  <script src="https://cdn.cdnhub.io/xel/0.25.8/xel.min.js"></script>
</head>
<body>
  <button id="myButton">Click me</button>

  <script>
    document.addEventListener('DOMContentLoaded', function() {
      const myButton = document.getElementById('myButton');

      myButton.addEventListener('click', function(event) {
        event.preventDefault(); // Prevent the default click behavior
        xel.log('Button clicked'); // Log a message using XEL
      });
    });
  </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions