mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-04-19 21:36:31 +00:00
update release version in docs (missed due to bad version number)
This commit is contained in:
@@ -33,7 +33,7 @@ By removing these arbitrary constraints htmx completes HTML as a
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<!-- Load from unpkg -->
|
<!-- Load from unpkg -->
|
||||||
<script src="https://unpkg.com/htmx.org@0.2.1"></script>
|
<script src="https://unpkg.com/htmx.org@0.3.0"></script>
|
||||||
<!-- have a button POST a click via AJAX -->
|
<!-- have a button POST a click via AJAX -->
|
||||||
<button hx-post="/clicked" hx-swap="outerHTML">
|
<button hx-post="/clicked" hx-swap="outerHTML">
|
||||||
Click Me
|
Click Me
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ It can be used via [NPM](https://www.npmjs.com/) as "`htmx.org`" or downloaded o
|
|||||||
[unpkg](https://unpkg.com/browse/htmx.org/) or your other favorite NPM-based CDN:
|
[unpkg](https://unpkg.com/browse/htmx.org/) or your other favorite NPM-based CDN:
|
||||||
|
|
||||||
``` html
|
``` html
|
||||||
<script src="https://unpkg.com/htmx.org@0.2.1"></script>
|
<script src="https://unpkg.com/htmx.org@0.3.0"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
## <a name="ajax"></a> [AJAX](#ajax)
|
## <a name="ajax"></a> [AJAX](#ajax)
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ By removing these arbitrary constraints htmx completes HTML as a
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<!-- Load from unpkg -->
|
<!-- Load from unpkg -->
|
||||||
<script src="https://unpkg.com/htmx.org@0.2.1"></script>
|
<script src="https://unpkg.com/htmx.org@0.3.0"></script>
|
||||||
<!-- have a button POST a click via AJAX -->
|
<!-- have a button POST a click via AJAX -->
|
||||||
<button hx-post="/clicked" hx-swap="outerHTML">
|
<button hx-post="/clicked" hx-swap="outerHTML">
|
||||||
Click Me
|
Click Me
|
||||||
|
|||||||
Reference in New Issue
Block a user