[csswg-drafts] Pull Request: [css-scroll-snap-2] Add snapChanged and snapChanging details

DavMila has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-scroll-snap-2] Add snapChanged and snapChanging details ==
snapChanged and snapChanging details are JavaScript events which are fired when a scroller's snap target changes.

This adds some interfaces to support the definition of these events:
- SnapEvent interface defines a shared event type for snapChanged and snapChanging.
- SnapTargetList interface defines an object that stores one array of snap targets per x/y axis.
- SnapTargetArray interface defines an object that stores a single array of snap targets.

See https://github.com/w3c/csswg-drafts/pull/9056


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

Received on Tuesday, 11 July 2023 16:59:38 UTC