Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preload extension: hx-boost, no side effects, HX-Preloaded header, fo…
…rm support, tests and JSDocs (#106) * Implement form preloading * Implement preload extension tests * Remove redundant elements from tests * Add support for xh-boost and implement request matching tests * Add JSDocs and refactor for readibility * Simplify code * Fix faulty <button> preload * Add test for preload='always' * Adjust version number * Remove side effects (e.g. loading indicator) and add HX-Preload header * Add HX-Preload header to requests preloaded without passing through HTMX.ajax() * Fixed link to documentation in extension description * Renamed preloaded header from HX-Preload to HX-Preloaded * Fix bug of preloading hx-post form and improve documentation * Remove forgotte console.log() * Fix errors and types discovered by @Telroshan in PR review * Add .DS_Store to .gitignore * Fix error of two preload requests when label contains input and added test * Preload button type=submit and add test for it * Add test for and (inverse order) * Add a test checking that click request does not include preloaded header
- Loading branch information