diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,28 +1,28 @@ - + *high power tools for HTML* ## Introduction Kutty is a set of extensions (attributes, request headers, etc.) that help you build -[modern UI](https://kutty.org/examples) with the [simplicity](https://en.wikipedia.org/wiki/HATEOAS) and +[modern UI](https://htmx.org/examples) with the [simplicity](https://en.wikipedia.org/wiki/HATEOAS) and [power](https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm) of HTML. -Kutty is small ([~6k min.gz'd](https://unpkg.com/kutty.org/dist/)), IE11 compatible, [dependency-free](https://github.com/bigskysoftware/kutty/blob/master/package.json) +Kutty is small ([~6k min.gz'd](https://unpkg.com/htmx.org/dist/)), IE11 compatible, [dependency-free](https://github.com/bigskysoftware/htmx/blob/master/package.json) & you can try it out quickly, without a huge rewrite. ## Quick Start ```html <!-- Load from unpkg --> - <script src="https://unpkg.com/kutty.org@0.0.2"></script> + <script src="https://unpkg.com/htmx.org@0.0.2"></script> <!-- have a button POST a click via AJAX --> - <button kt-post="/clicked" kt-swap="outerHTML"> + <button hx-post="/clicked" hx-swap="outerHTML"> Click Me </button> ``` -The `kt-post` and `kt-swap` attributes tell kutty: +The `hx-post` and `hx-swap` attributes tell htmx: > "When a user clicks on this button, issue an AJAX request to /example, and replace the entire button with the response" @@ -30,6 +30,6 @@ Kutty is based on [intercooler.js](http://intercoolerjs.org) and is the successo ## Website & Docs -[https://kutty.org](https://kutty.org) +[https://htmx.org](https://htmx.org) -[https://kutty.org/docs](https://kutty.org/docs) +[https://htmx.org/docs](https://htmx.org/docs) |