Get started with jets CDN
MIT licensed
Jets is a library for building server-side rendered React applications with ease.
Tags:- css
- search
- list
- jets
- Jets.js
Stable version
Copied!
How to start using jets CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with jets CDN - cdnhub.io</title>
<script src="https://cdn.cdnhub.io/jets/0.14.1/jets.min.js"></script>
</head>
<body>
<button id="jets-button">Click me</button>
<script>
const button = document.getElementById('jets-button');
button.addEventListener('click', () => {
Jets.create({
target: '#jets-button',
text: 'Loading...',
background: 'blue',
color: 'white',
size: 'large',
position: 'right',
}).promise.then(() => {
Jets.notify('Success message');
});
});
</script>
</body>
</html>
Copied!
Copied!