lemon-lawyer-82536
07/06/2021, 3:17 PMmysterious-toddler-20573
07/06/2021, 3:17 PMmysterious-toddler-20573
07/06/2021, 3:34 PMmysterious-toddler-20573
07/06/2021, 3:34 PMmysterious-toddler-20573
07/06/2021, 3:34 PMmysterious-toddler-20573
07/06/2021, 3:34 PMmysterious-toddler-20573
07/06/2021, 3:35 PMuser
07/06/2021, 5:47 PMuser
07/06/2021, 5:48 PMmysterious-toddler-20573
07/06/2021, 5:54 PMuser
07/06/2021, 6:03 PMsalmon-xylophone-28580
07/06/2021, 6:28 PMgorgeous-airport-54386
07/06/2021, 6:28 PMgorgeous-airport-54386
07/06/2021, 6:39 PMgorgeous-airport-54386
07/06/2021, 6:39 PMsalmon-xylophone-28580
07/06/2021, 6:41 PMmysterious-toddler-20573
07/06/2021, 6:49 PMmysterious-toddler-20573
07/06/2021, 6:49 PMmysterious-toddler-20573
07/06/2021, 6:49 PMmillions-apartment-38225
07/06/2021, 7:28 PMsalmon-xylophone-28580
07/06/2021, 7:39 PMmillions-apartment-38225
07/06/2021, 7:42 PMmillions-apartment-38225
07/06/2021, 7:43 PMmillions-apartment-38225
07/06/2021, 8:38 PMmysterious-toddler-20573
07/06/2021, 8:38 PMmillions-apartment-38225
07/06/2021, 8:38 PMmillions-apartment-38225
07/06/2021, 8:52 PMmysterious-toddler-20573
07/06/2021, 8:53 PMmysterious-toddler-20573
07/06/2021, 10:27 PMhx-trigger syntax:
html
<button hx-trigger="click timeout:3s" ...>
this would be the easiest place to add it, but feels a bit wrong since it doesn't have much to do with the trigger
i could also add it as a modifier to the hx-get etc:
html
<button hx-get="/foo timeout:3s" ...>
this would be new syntax and some work, not sure I like how it reads.
Another option is to add it as an attribute:
html
<button hx-timeout="3s" ...>
or, possibly, as a general request config attribute:
Another option is to add it as an attribute:
html
<button hx-request="timeout:3s, otherStuff..." ...>
Any opinions?mysterious-toddler-20573
07/06/2021, 10:32 PMhx-request and surfacing a few more options that way:
html
<button hx-request="timeout:3s, expect:text/html, credentials:true" ...>