</> htmx - high power tools for html
CRANK

</> htmx high power tools for HTMLintroductionhtmx allows you to access AJAX, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertexthtmx is small (~7k min.gz'd), dependency-free, extendable & IE11 compatiblequick start <!-- Load from unpkg --> <script src=" <!-- have a button POST a click via AJAX --> <button hx-post="/clicked" hx-swap="outerHTML"> Click Me </button> The hx-post and hx-swap attributes tell htmx:"When a user clicks on this button, issue an AJAX request to /clicked, and replace the entire button with the response"htmx is the successor to intercooler.jshaikujavascript fatigue:longing for a hypertextalready in hand

htmx.org
Related Topics: HTML
1 comments