755 Commits

Author SHA1 Message Date
carson
230e2f65df support a CSS selector in the hx-swap-oob attributes 2020-12-11 15:33:24 -07:00
carson
b96e5e771e allow hx-swap-oob to be at any level in returned content 2020-12-11 15:00:44 -07:00
carson
b1729b2b85 improve API by taking string selectors in place of elements 2020-12-04 15:06:02 -07:00
carson
2a9b6833a6 Bump for next release 2020-12-04 15:05:40 -07:00
carson
564d4eb651 holy smokes this test won't die v1.0.1 2020-12-04 10:08:01 -07:00
carson
c9ab48d9d5 more 1.0.1 prep 2020-12-04 10:03:59 -07:00
carson
58b36a6fb8 fix test - I guess all that matters is that the attribute is on the element :/ 2020-12-04 09:56:28 -07:00
carson
ff4126ad6d prep 1.0.1 release 2020-12-04 09:52:27 -07:00
carson
89a6914a28 Merge branch 'dev' of github.com:bigskysoftware/htmx into dev 2020-12-04 09:51:35 -07:00
1cg
d8b5ef363c
Merge pull request #246 from ojensen5115/master
Fix handling of 'multiple' attribute
2020-12-02 12:53:06 -07:00
1cg
e238f1a810
Merge branch 'dev' into master 2020-12-02 12:52:52 -07:00
carson
81972b856b Merge branch 'master' into dev 2020-12-01 18:01:35 -07:00
carson
f0c79aa7f0 Merge remote-tracking branch 'origin/master' 2020-12-01 18:01:18 -07:00
carson
247e91432a CSS transition docs 2020-12-01 18:01:00 -07:00
carson
89afd42b27 CSS transition docs 2020-12-01 17:59:24 -07:00
Oliver Jensen
c09fcb3f9c fix handling of 'multiple' attribute 2020-11-29 22:59:21 -06:00
carson
fda4957d65 handle multiple='false' case 2020-11-29 09:58:10 -07:00
1cg
d0c255aec8
Merge pull request #243 from e9labs/feature/handle-multiple-attr-no-value
handle multi-select when "multiple" attr is present w/o value
2020-11-29 09:51:49 -07:00
carson
f0a3eabc9c v1.0.1 prep 2020-11-25 17:54:09 -07:00
carson
725bd72be2 changelog prep 2020-11-25 17:41:00 -07:00
carson
29829fd776 nit 2020-11-25 17:36:26 -07:00
carson
d4c9ba600e better language 2020-11-25 17:35:09 -07:00
carson
eb3a7a0ddb update examples page 2020-11-25 17:28:02 -07:00
carson
56a9187a94 Merge remote-tracking branch 'origin/dev' into dev 2020-11-25 17:26:18 -07:00
carson
008bb65035 Document ajax file upload API 2020-11-25 17:26:10 -07:00
1cg
5669e86b3a
Merge pull request #242 from benpate/pullrequest-modal-documentation
Fixing typos
2020-11-25 17:05:01 -07:00
Ben Weller
7576e21ab1 handle multi-select when "multiple" attr is present w/o value 2020-11-25 15:40:57 -06:00
carson
d71e7bd4e9 accept selector strings as first argument to on(), off(), etc.
hyperscript example for file upload
2020-11-25 06:24:46 -07:00
carson
3b115c0125 add event listeners to the upload object as well 2020-11-25 06:02:00 -07:00
carson
85b5d04faa file upload progress, with test 2020-11-24 14:24:01 -07:00
Ben Croker
a809743fd3
Switched attribute order (doh!) 2020-11-24 20:51:06 +01:00
Ben Croker
f5e081eb3b
Added missing attributes 2020-11-24 20:48:43 +01:00
Ben Pate
cdf4cab434 Fixing typos
Inconsistent names were making these demos break.  This should clear things up.
2020-11-24 11:20:26 -07:00
carson
26a8b75f1e improve language 2020-11-24 06:40:20 -07:00
carson
a2454ebfe1 improve language 2020-11-24 06:15:08 -07:00
carson
79bfdc4f78 1.0 prep v1.0.0 2020-11-24 05:35:15 -07:00
carson
a076444946 1.0 prep 2020-11-23 18:36:21 -07:00
carson
a6695e5fd5 1.0 prep 2020-11-23 18:34:44 -07:00
carson
886457d857 1.0 prep 2020-11-23 13:15:59 -07:00
carson
212898a493 Merge remote-tracking branch 'origin/master' 2020-11-23 12:09:53 -07:00
carson
959d854019 Merge branch 'master' into dev v0.4.1 2020-11-23 12:07:28 -07:00
carson
360a744b41 Merge remote-tracking branch 'origin/dev' into dev 2020-11-23 08:34:39 -07:00
carson
b874b87d71 Prep for 0.4.1 release 2020-11-23 08:34:31 -07:00
carson
24d103ba30 Prep for 0.4.1 release 2020-11-23 08:32:48 -07:00
carson
c81dce11bb Prep for 0.4.1 release 2020-11-23 08:31:00 -07:00
carson
7d592b80fe merge event properties directly
Standard DOM events do not have a detail property, but have properties directly on the event object (unlike `CustomEvent`).

See https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail

With this change we properly pass through event properties to the given htmx event.  In particular, the `progress` event now includes enough information for handling a progress bar.

Addresses https://github.com/bigskysoftware/htmx/issues/240
2020-11-23 07:45:33 -07:00
carson
13366ac089 fix https://github.com/bigskysoftware/htmx/issues/239
use title node innerHTML if possible so that HTML escape sequences are respected.
2020-11-18 17:23:52 -07:00
carson
81c78109a3 bump version 2020-11-18 17:22:52 -07:00
Ben Croker
6c5b99b0cd
Update CHANGELOG.md 2020-11-18 08:59:18 +01:00
carson
d86b95c7a1 fix grammar 2020-11-16 21:52:18 -07:00