Get started with gyrejs CDN
MIT licensed
Gyrejs is a lightweight, modular library for building responsive and adaptive user interfaces.
Tags:- flux
- reactjs
- immutable
- state
- predictable
Stable version
Copied!
How to start using gyrejs CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with gyrejs CDN - cdnhub.io</title>
<script src="https://cdn.cdnhub.io/gyrejs/0.6.5/gyrejs.min.js"></script>
</head>
<body>
<button id="gyre-button">Click me!</button>
<script>
const gyre = new Gyre();
const button = document.getElementById('gyre-button');
gyre.observe(button, { hover: true });
button.addEventListener('click', () => {
gyre.toggleClass(button, 'active');
});
</script>
<style>
.active {
background-color: lightblue;
}
</style>
</body>
</html>