2123 Commits

Author SHA1 Message Date
Carson Gross
cc6dba15b0 add link 2022-05-27 08:57:34 -06:00
Carson Gross
cd8cf8fd09 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	www/essays/a-response-to-rich-harris.md
2022-05-27 08:56:08 -06:00
Carson Gross
cf4889bae8 fix typo 2022-05-27 08:55:30 -06:00
dan-osull
898c22578d
Further doc fix for #895 (#910) 2022-05-26 17:04:41 -06:00
Nathaniel Sabanski
e350ea2676
Update hx-boost.md (#909) 2022-05-26 17:02:59 -06:00
Cory Zue
ef1d0fdbe0
Fix typo in bulk-update example (#914) 2022-05-26 17:02:43 -06:00
Dosenpfand
a576327c74
Fix dead links, typo, trailing white spaces (#924) 2022-05-26 17:02:30 -06:00
Nathaniel Sabanski
0f3c115e7e
Added missing documentation: htmx:timeout event (#921)
* Added missing htmx:timeout

* Added missing htmx:timeout documentation.

* Added helpful description to htmx:timeout
2022-05-24 06:34:10 -06:00
Denis Palashevskii
8bb0399052 Improvements in WebSocket extension
* Implement proper `hx-trigger` support
* Expose trigger handling API to extensions
* Implement safe message sending with sending queue
* Fix `ws-send` attributes connecting in new elements
* Fix OOB swapping of multiple elements in response
2022-05-14 21:19:28 +04:00
Carson Gross
bcd68ad437 example of boosted form 2022-05-13 09:09:58 -06:00
Carson Gross
742f05b9bd support filters on load event
fixes https://github.com/bigskysoftware/htmx/issues/752
2022-05-13 08:44:41 -06:00
Carson Gross
3f4b7bfb93 boost anchors w/a _self target
fixes https://github.com/bigskysoftware/htmx/issues/817
2022-05-13 08:29:08 -06:00
Carson Gross
8290da624b support next and previous (taken from hyperscript) in target expressions
fixes https://github.com/bigskysoftware/htmx/issues/814
2022-05-13 08:14:38 -06:00
Carson Gross
b735c291df support 'm' for minutes
fixes https://github.com/bigskysoftware/htmx/issues/807
2022-05-13 07:55:59 -06:00
Carson Gross
870ca5591b Merge branch 'master' into dev 2022-05-12 19:36:50 -06:00
Carson Gross
f7b73e6e38 https://github.com/bigskysoftware/htmx/issues/881 2022-05-12 19:36:39 -06:00
Carson Gross
13b3ccff0d Merge branch 'master' into dev
# Conflicts:
#	www/docs.md
2022-05-12 19:34:31 -06:00
Carson Gross
52267f5c74 doc fix for https://github.com/bigskysoftware/htmx/issues/895 2022-05-12 19:31:32 -06:00
Carson Gross
7ee07bb96f fix https://github.com/bigskysoftware/htmx/issues/908
respect the `enctype` attribute on form elements when submitting requests
2022-05-12 18:05:35 -06:00
Carson Gross
2dfffb5182 bump sass :( 2022-05-12 17:35:49 -06:00
Felix Ingram
caf838f2de
Update hx-boost.md (#874) 2022-05-12 16:47:59 -06:00
David Guillot
15eea5577c
Check for localStorage availability (#872)
* feat(utilities): check localStorage availability

* fix(history): don't try to cache if no access to localStorage
2022-05-12 16:47:28 -06:00
Ben Beecher
5b2d1f15c5
Documentation fix (#890) 2022-05-12 16:44:52 -06:00
Ben Beecher
4b5052984b
Attempts to fix case when htmx is loaded multiple times into browser (#883) 2022-05-12 16:44:34 -06:00
Qori El-Hafizh
c91f87727d
Fix a typo in reference.md (#897)
"has been moved to an extension"
2022-05-12 16:43:42 -06:00
Marek Romanowski
00631f3162 Style changes proposal 2022-05-10 08:14:31 +02:00
Ben Pate
eafd316d5f BUGFIX: API call to shouldCancel
This addresses problems using the WebSocket extension to send messages to a websocket server.  We were calling `shouldCancel` with the incorrect API signature, causing it to return FALSE (as in, don't cancel the event) when it should have returned TRUE (as in, yes, cancel the event)

I don't know why this worked in my tests before, but the test case it behaving correctly now.
2022-05-04 13:24:28 -06:00
Ben Pate
da12daaa31 Add documentation to shouldCancel function 2022-05-04 13:22:31 -06:00
Marek Romanowski
c8f3c30379 Style changes proposal 2022-05-03 11:21:15 +02:00
Ben Croker
6a7df0a8c1
More code sample improvements 2022-05-01 13:33:52 +02:00
Ben Croker
51959e41db
Fix spacing 2022-05-01 13:28:01 +02:00
Ben Croker
fda66d7b8f
Fix spacing 2022-05-01 13:25:29 +02:00
Ben Croker
9083ad86d1
Fixed code sample indentation 2022-05-01 13:20:40 +02:00
Ben Croker
218976c5ba
Fixed headings and levels 2022-05-01 13:03:15 +02:00
Ben Croker
9623a32626
Fix header level 2022-05-01 12:45:28 +02:00
Ben Croker
cdc494d7b7
Consistent lower case 2022-05-01 12:23:57 +02:00
Ben Croker
96a3f45b59
Added heading for clarity 2022-04-29 21:39:03 +02:00
Ben Croker
4f3bb039b3
Removed hard-coded number 2022-04-29 21:36:59 +02:00
Ben Pate
70f081318f Update reference.md
- fixed broken link to hx-vars and added a comment that this attribute has been deprecated
- removed a trailing space to make my markdown linter happy
2022-04-18 16:49:45 -06:00
Ben Pate
ca27475b7b Fix stylesheet in realtime tests
The stylesheet was preventing the "echo" test from working correctly.  WS messages were sent/received correctly, but the results could not be displayed because the container size was too small.  This patch allows the containers to grow, and display WS results correctly.
2022-04-18 14:09:30 -06:00
carson
3beec111b8 Merge remote-tracking branch 'origin/dev' into dev 2022-04-15 09:42:31 -06:00
carson
9e7d5e7939 attempt to reproduce https://github.com/bigskysoftware/htmx/issues/854 (unsuccessful so far) 2022-04-15 09:42:23 -06:00
David Guillot
be85c2c191
feat(ext): add disable-element extension (#869)
* feat(ext): add disable-element extension

* fixup! feat(ext): add disable-element extension
2022-04-08 13:13:03 -06:00
carson
7be95f6e3b bump for next version of htmx 2022-04-07 14:34:33 -06:00
carson
0e69b6d064 Merge remote-tracking branch 'origin/dev' into dev 2022-04-07 13:50:07 -06:00
carson
74f520cf8b bump for next version of htmx 2022-04-07 13:49:57 -06:00
Ben Beecher
42db6210d6
Update hx-push.md (#838) 2022-04-07 13:42:04 -06:00
msladecek
9dfc713191
fix links to web-sockets extension page (#841) 2022-04-07 13:41:20 -06:00
Jonathan Berger
75043b2ae1
Fix broken response headers links (#843) 2022-04-07 13:40:54 -06:00
Adam Johnson
0b52a8c6a3
Update installation instructions (#851)
As per #800.

* Recommend downloading htmx as the main way of installing it.
* Cover npm installation in a bit more detail.
* Note the downsides of unpkg.com and always recommend with the integrity SHA.
* Use `<script defer>` in all `<script>` examples. This tells the browser to defer the parsing and processing of the script until all content is on display, increasing performance. [See HTML spec diagram](https://html.spec.whatwg.org/multipage/scripting.html#attr-script-defer).
2022-04-07 13:40:37 -06:00