Spec-Zone.ru › htmx

htmx.config.implicitInheritance

Enables implicit attribute inheritance

The htmx.config.implicitInheritance option, when set to true, causes child elements to implicitly inherit htmx attributes from parent elements.

Default: false

Example

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

When enabled, attributes like hx-target on a parent apply to all child elements unless overridden.

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

Spec-Zone.ru

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