#4084·htmx

在与 metaCharacter 结合使用时,扩展事件不一致

作者: scrhartley创建于 2026年9月16日更新于 2026年9月16日

v4 扩展在使用 htmx.triggerapi.triggerHtmxEvent 时不一致。结果是,当使用元字符时,用户不得不猜测事件名称(以及如何使用 hx-on)。下面的示例中,您有: htmx:prompthx-on|htmx:prompt,而非: htmx|ws|before|connectionhx-on||ws|before|connection(或 hx-on|htmx|ws|before|connection

内容来源: bigskysoftware/htmx