4 ms·
> hx-target attribute is explicitly declared as inherited on the enclosing div and, if it wasn’t, the button elements would not inherit the target from it. So
by deepsun 1y ago
> hx-target attribute is explicitly declared as inherited on the enclosing div and, if it wasn’t, the button elements would not inherit the target from it.
So confusing. I'm pretty sure it should be "inheritable", because "inherited" on an attribute means the attribute is inherited, not the element's children will inherit the attribute.
UPDATE: or "inherit", sounds like a command, little less confusing.
- SoftTalker 1y agoI was going to make the same comment. "inherited" is the wrong word. I like "inherit" too. And it's a bit shorter which is always nice. I guess "bequeath" might work also?
- mrj 1y agoMaybe `heritable`?
- recursivedoubts 1y agoyeah, i'm struggling w/it, willing to consider options
- deleted 1y ago[deleted]
- jonahx 1y ago> I'm pretty sure it should be "inheritable", because "inherited" on an attribute means the attribute is inherited, not the element's children will inherit the attribute. That is one interpretation, but not the one I had reading it. I read it as "This target will be inherited by its children," rather than "This target is inherited from its parents," which, while a grammatical possibility, doesn't really make sense because you are specifying it right there with the equal sign. Both "inherit" and "inheritable" have the same possible double readings. Something like "pass-to-children" or "pass-down" would remove the possible ambiguity, but I'm not sure like either better than "inherited".
- deleted 1y ago[deleted]
- treve 1y agoor 'cascade' ?
- deepsun 1y agoWell, I just remembered that in SQL "ON UPDATE CASCADE" is specified on downstream keys (children), not on their target (parent).