Spec-Zone.ru › htmx

htmx.config.defaultSettleDelay

Sets swap-to-settle delay in ms

The htmx.config.defaultSettleDelay option controls how long htmx waits between the swap phase and the settle phase (when CSS transition classes are removed).

Default: 1 (1 millisecond)

Example

htmx.config.defaultSettleDelay = 100;
<meta name="htmx-config" content='{"defaultSettleDelay":100}'>

Increase this value if CSS transitions are not completing before htmx removes the transition classes.

See also: htmx.config

Licensed under the Zero-Clause BSD License.
https://four.htmx.org/reference/config/htmx-config-defaultSettleDelay/

Spec-Zone.ru

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