Re: [w3ctag/design-reviews] Declarative Interactions (Issue #1111)

szager left a comment (w3ctag/design-reviews#1111)

@Shrinivassab, I must confess that my framework-fu is very weak, so I can't give you substantial answers about how `animation-trigger` would combine with Angular, Lit, React, etc.

The spec proposal for `animation-trigger` does feature a scoping mechanism similar to that used by anchor positioning, which doesn't inherently rely on shadow DOM.

This feature is largely orthogonal to `prefers-reduced-motion` and other accessibility settings -- it should not change the rendering of animations.

As for custom gestures: I don't know how those things are implemented, but the proposal is limited to events that use the built-in `Event` interface and dispatch mechanism. Within that constraint, any event type can be specified, including custom events; but custom events will not get the performance benefits available to standard non-custom events.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/1111#issuecomment-2997947122
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/1111/2997947122@github.com>

Received on Monday, 23 June 2025 21:09:29 UTC