mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-27 04:50:43 +00:00
1.3 KiB
1.3 KiB
<x/> HTMx
HTML Extensions
GOALS
- Dependency-free implementation of intercooler.js-like HTML-driven AJAX functionality
- Minimalist functionality, rely heavily on built in functionality
- Support IE10+ ** CSS transitions only ** Pluggable event model
- < 10k in .min form
TODOS
- event model for pluggability
- history support
- Implement LRU
- Issue GET to restore content if there isn't a copy locally
- sse support
- polling (ic-trigger="every 2s")
- delay (ic-trigger="keyup delay 1s")
- implement element properties using https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap
- make node handling idempotent
- don't cancel trigger events, but don't process additional events
- don't issue multiple requests on multiple clicks
- distribute on https://unpkg.com/
- build website with 11ty
- landing page
- docs page
- examples page (steal intercooler)
- attributes page
- events page
- headers page
Unsupported Intercooler Features
- local actions
- all request parameters
- all response headers except X-*-Trigger
- dependencies
- macros