Debian Codegraph @

www/src/content/reference/03-events/17-htmx-after-implicitInheritance.md

raw symbols SCIP
1 ---
2 title: "htmx:after:implicitInheritance"
3 description: "After implicit inheritance is applied"
4 ---
5
6 The `htmx:after:implicitInheritance` event is an internal event fired when htmx handles implicit attribute inheritance from parent to child elements.
7
8 ## When It Fires
9
10 When `htmx.config.implicitInheritance` is enabled and attributes are inherited from parent elements.
11
12 ## Event Detail
13
14 - `elt` - Child element receiving inherited attributes
15 - `parent` - Parent element providing the attributes
16
17 ## Example
18
19 ```javascript
20 htmx.on('htmx:after:implicitInheritance', (evt) => {
21 console.log('Inherited from:', evt.detail.parent, 'to:', evt.detail.elt);
22 });
23 ```
24
25 This is primarily an internal event for debugging inheritance behavior.