mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-03-02 11:59:32 +00:00
test deploy
This commit is contained in:
parent
8ba138f230
commit
48dfd56501
@ -94,6 +94,10 @@ if(window.location.search=="?ads=true") {
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="alert">
|
||||
<b>NEWS:</b> htmx 4 is coming!
|
||||
</div>
|
||||
|
||||
<h2>introduction</h2>
|
||||
|
||||
htmx gives you access to [AJAX](@/docs.md#ajax), [CSS Transitions](@/docs.md#css_transitions), [WebSockets](@/docs.md#websockets-and-sse) and [Server Sent Events](@/docs.md#websockets-and-sse)
|
||||
@ -117,7 +121,7 @@ By removing these constraints, htmx completes HTML as a [hypertext](https://en.w
|
||||
<h2>quick start</h2>
|
||||
|
||||
```html
|
||||
<script src="https://cdn.jsdelivr.net/npm/htmx.org@2.0.8/dist/htmx.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-alpha/dist/htmx.min.js"></script>
|
||||
<!-- have a button POST a click via AJAX -->
|
||||
<button hx-post="/clicked" hx-swap="outerHTML">
|
||||
Click Me
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user