Get started with platform CDN

MIT licensed

Platform: Tools, services for app building, deployment, management.

Tags:
  • environment
  • platform
  • ua
  • useragent

Stable version

Copied!

How to start using platform CDN


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

  <script>
    const button = document.getElementById('myButton');

    Platform.init();

    button.addEventListener('click', () => {
      Platform.showToast('Hello, Platform!');
    });
  </script>
</body>
</html>
Copied!
Copied!

All versions