Re: [csswg-drafts] [web-animations-2] Allow Animation constructor to take an object of properties as second param (#11146)

+1 to having the constructor also take [`KeyframeAnimationOptions`](https://drafts.csswg.org/web-animations-1/#dictdef-keyframeanimationoptions) instead of only a `AnimationTimeline` instance as its second argument.

It would make using `Element.animate()` and `new Animation()` more aligned to each other.

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11146#issuecomment-2453490015 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 3 November 2024 16:38:35 UTC