我很高興宣布 htmx 的 1.9.6 版本發布。
hx-disabled-elt
屬性,允許指定在請求期間要停用的元素hx-swap
中的 ignoreTitle
選項和 htmx.config.ignoreTitle
配置變數,明確決定忽略在新內容中找到的 title
標籤。hx-swap
修飾符可以在不顯式指定交換機制的情況下使用client-side-templates
擴展支援陣列client-side-templates
擴展中支援 XSLTpreventDefault()
HX-Redirect
之後,HX-Refresh
標頭仍然可以應用formaction
和 formmethod
屬性現在被正確地尊重hx-on
現在可以處理名稱中帶有點的事件htmx.ajax()
現在始終返回一個 Promisestyle
標籤解析感謝每一位貢獻者,請盡情享受!