Skip to content

Commit 99b33b5

Browse files
committed
Merge remote-tracking branch 'origin/master' into dev
2 parents bea31f6 + 7f8cb74 commit 99b33b5

File tree

6 files changed

+17
-14
lines changed

6 files changed

+17
-14
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ directly in HTML, using [attributes](https://htmx.org/reference#attributes), so
1515
[modern user interfaces](https://htmx.org/examples) with the [simplicity](https://en.wikipedia.org/wiki/HATEOAS) and
1616
[power](https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm) of hypertext
1717

18-
htmx is small ([~10k min.gz'd](https://unpkg.com/htmx.org/dist/)),
18+
htmx is small ([~14k min.gz'd](https://unpkg.com/htmx.org/dist/)),
1919
[dependency-free](https://github.com/bigskysoftware/htmx/blob/master/package.json),
2020
[extendable](https://htmx.org/extensions) &
2121
IE11 compatible

www/content/attributes/hx-target.md

+5-11
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,15 @@ title = "hx-target"
55
The `hx-target` attribute allows you to target a different element for swapping than the one issuing the AJAX
66
request. The value of this attribute can be:
77

8-
* a CSS query selector of the element to target
9-
* `this` which indicates that the element that the `hx-target` attribute is on is the target
10-
* `closest <CSS selector>` which will find the closest parent ancestor that matches the given CSS selector.
11-
(e.g. `closest tr` will target the closest table row to the element)
8+
* A CSS query selector of the element to target.
9+
* `this` which indicates that the element that the `hx-target` attribute is on is the target.
10+
* `closest <CSS selector>` which will find the closest parent ancestor that matches the given CSS selector
11+
(e.g. `closest tr` will target the closest table row to the element).
1212
* `find <CSS selector>` which will find the first child descendant element that matches the given CSS selector.
13-
* a CSS query selector of the element to target
14-
* `this` which indicates that the element that the `hx-target` attribute is on is the target
15-
`next <CSS selector>` which will scan the DOM forward for the first element that matches the given CSS selector.
13+
* `next <CSS selector>` which will scan the DOM forward for the first element that matches the given CSS selector.
1614
(e.g. `next .error` will target the closest following sibling element with `error` class)
1715
* `previous <CSS selector>` which will scan the DOM backwards for the first element that matches the given CSS selector.
1816
(e.g `previous .error` will target the closest previous sibling with `error` class)
19-
* `closest <CSS selector>` which will find the closest parent ancestor that matches the given CSS selector.
20-
(e.g. `closest table` will target the closest parent table to the element)
21-
* `find <CSS selector>` which will find the first child descendant element that matches the given CSS selector.
22-
(e.g `find tr` will target the first child descendant row to the element)
2317

2418

2519
Here is an example that targets a div:

www/content/docs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ to scripting in your htmx-based web application:
12031203
* [Consider inline scripting](/essays/hypermedia-friendly-scripting#inline)
12041204

12051205
The primary integration point between htmx and scripting solutions is the [events](#events) that htmx sends and can
1206-
respond to. See the SortableJS example in the [3rd Party Javascript](3rd-party) section for a good template for
1206+
respond to. See the SortableJS example in the [3rd Party Javascript](#3rd-party) section for a good template for
12071207
integrating a JavaScript library with htmx via events.
12081208

12091209
Scripting solutions that pair well with htmx include:

www/content/essays/hypermedia-driven-applications.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ The following libraries allow developers to create HDAs:
133133

134134
* <https://htmx.org>
135135
* <https://unpoly.com/>
136-
* <https://kasta-ua.github.io/twinspark-js/>
136+
* <https://piranha.github.io/twinspark-js/>
137137
* <https://hotwire.dev>
138138
* <https://hyperview.org/> (a mobile hypermedia!)
139139

www/content/server-examples.md

+7
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ These examples may make it a bit easier to get started using htmx with your plat
2929
- <https://github.com/DamianStanger/hapi-htmx>
3030

3131
## Python
32+
- <https://github.com/PyHAT-stack/awesome-python-htmx>
3233

3334
### Django
3435

@@ -44,6 +45,7 @@ These examples may make it a bit easier to get started using htmx with your plat
4445

4546
### Flask
4647

48+
- <https://github.com/edmondchuc/flask-htmx>
4749
- <https://github.com/cscortes/htmxflask>
4850

4951
### py4web
@@ -106,3 +108,8 @@ These examples may make it a bit easier to get started using htmx with your plat
106108
## Julia
107109

108110
- <https://github.com/clarkevans/TodoMVC.jl>
111+
112+
## OCaml
113+
114+
- <https://ocaml.org/p/dream-htmx>
115+
- <https://github.com/yawaramin/dream-html>

www/static/_redirects

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/locality-of-behaviour /essays/locality-of-behaviour
2+
/locality-of-behavior /essays/locality-of-behaviour
3+
/essays/locality-of-behavior /essays/locality-of-behaviour
24
/posts/2020-6-19-htmx-0.0.5-is-released/ /posts/2020-6-20-htmx-0.0.6-is-released/
35
/discord https://discord.gg/Z6gPqAd
46
/feed.xml /atom.xml

0 commit comments

Comments
 (0)