proud-librarian-99598
05/23/2022, 7:41 PMrefined-waiter-90422
05/23/2022, 7:49 PMproud-librarian-99598
05/23/2022, 7:53 PMtimeout, not htmx:timeout. Will try that tomorrow, but that event is not listed in the docs.refined-waiter-90422
05/23/2022, 7:54 PMmysterious-toddler-20573
05/24/2022, 3:31 AMcalm-postman-56357
05/24/2022, 4:12 AMmysterious-toddler-20573
05/24/2022, 4:17 AMcalm-postman-56357
05/24/2022, 4:18 AMcalm-postman-56357
05/24/2022, 4:18 AMmysterious-toddler-20573
05/24/2022, 4:19 AMcalm-postman-56357
05/24/2022, 4:19 AMmysterious-toddler-20573
05/24/2022, 4:20 AMmysterious-toddler-20573
05/24/2022, 4:20 AMmysterious-toddler-20573
05/24/2022, 4:20 AMcalm-postman-56357
05/24/2022, 4:21 AMcalm-postman-56357
05/24/2022, 4:21 AMcalm-postman-56357
05/24/2022, 4:22 AMmysterious-toddler-20573
05/24/2022, 4:28 AMmysterious-toddler-20573
05/24/2022, 4:28 AMmysterious-toddler-20573
05/24/2022, 4:29 AMmysterious-toddler-20573
05/24/2022, 4:29 AMproud-librarian-99598
05/24/2022, 9:54 AMhtmx:timeout to trigger. I also tried to do it from a jsfiddle instead of my Spring Boot application, but it also does not seem to trigger there: https://jsfiddle.net/mxepf5vc/mysterious-toddler-20573
05/24/2022, 12:34 PMmysterious-toddler-20573
05/24/2022, 12:35 PMmysterious-toddler-20573
05/24/2022, 12:36 PMmysterious-toddler-20573
05/24/2022, 12:36 PMmysterious-toddler-20573
05/24/2022, 12:38 PMproud-librarian-99598
05/24/2022, 12:46 PMdocument.addEventListener("DOMContentLoaded", function(){
htmx.logAll();
htmx.config.timeout = 100;
});
But it does not work when doing it via the hx-request='\"timeout\":100' attribute on the <button> that does the request.proud-librarian-99598
05/24/2022, 1:56 PMhx-request='"timeout":100' instead (note how I had the quotes escaped initially). Is there any way we can make this a bit "friendlier" so that for example hx-request="timeout: 100" would work, or maybe hx-timeout="100" ?