Get started with clank CDN
MIT licensed
Clank is a lightweight library for creating interactive command-line interfaces in the browser.
Tags:- clank
- mobile
- apps
Stable version
Copied!
How to start using clank CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with clank CDN - cdnhub.io</title>
<script src="https://cdn.cdnhub.io/clank/0.3.6/clank.min.js"></script>
</head>
<body>
<button id="clank-button">Click me!</button>
<script>
const button = document.getElementById('clank-button');
Clank.init({
selector: '#clank-button',
onClick: function() {
console.log('Button clicked!');
}
});
</script>
</body>
</html>
Copied!
Copied!
Copied!