mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-28 05:21:18 +00:00

Fix kt-params Link
high power tools for HTML
Introduction
Kutty is a set of extensions (attributes, request headers, etc.) that help you build modern UI with the simplicity and power of HTML.
Kutty is small (~6k min.gz'd), IE11 compatible, dependency-free & you can try it out quickly, without a huge rewrite.
Quick Start
<!-- Load from unpkg -->
<script src="https://unpkg.com/kutty.org@0.0.1"></script>
<!-- have a button POST a click via AJAX -->
<button kt-post="/clicked" kt-swap="outerHTML">
Click Me
</button>
The kt-post
and kt-swap
attributes tell kutty:
"When a user clicks on this button, issue an AJAX request to /example, and replace the entire button with the response"
Kutty is based on intercooler.js and is the successor to that project.
Website & Docs
Description
Languages
JavaScript
92%
HTML
7.1%
CSS
0.4%
TypeScript
0.3%
Ruby
0.1%