2 ms·
Thanks, jaflo. I use the JS body approach, but I was hoping I was missing a declarative option. Even JS has the PointerEvent so that you can encapsulate behavi
by jancsika 6y ago
Thanks, jaflo. I use the JS body approach, but I was hoping I was missing a declarative option.
Even JS has the PointerEvent so that you can encapsulate behaviors like dragging inside a single DOM element without having to set state for a parent element like body. I was hoping CSS had something analogous (though I can't currently think of how it would work).