Spec-Zone.ru › htmx

htmax

htmx bundled with the most popular extensions in a single file.

The htmax.js file bundles htmx with the most popular extensions in a single file:

  • hx-sse
  • hx-ws
  • hx-preload
  • hx-browser-indicator
  • hx-download
  • hx-pending
  • hx-targets
  • hx-live
  • hx-upsert
  • hx-alpine-compat
  • hx-history-cache (included but disabled by default)

The extensions are automatically available, you can just use their attributes directly (e.g. hx-sse:connect, hx-ws:connect).

<script src="/js/htmax.min.js"></script>

To enable history caching, opt in via the meta tag:

<meta name="htmx-config" content='{"historyCache": {"disable": false}}'>

Licensed under the Zero-Clause BSD License.
https://four.htmx.org/docs/htmax/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API