Get started with Ventus CDN

MIT licensed

Ventus is a lightweight library for creating interactive data visualizations.

Tags:
  • window
  • manager
  • html5
  • css3
  • javascript

Stable version

Copied!

How to start using Ventus CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with Ventus CDN - cdnhub.io</title>
  <script src="https://cdn.cdnhub.io/Ventus/0.3.0/ventus.min.js"></script>
</head>
<body>
  <button id="myButton">Click me</button>
  <script>
    const button = document.getElementById('myButton');

    Ventus.create({
      target: button,
      onEnter: () => {
        console.log('Button entered');
      },
      onLeave: () => {
        console.log('Button left');
      },
    });
  </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions