css-scroll-snap-2.idl (657B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: CSS Scroll Snap Module Level 2 (https://drafts.csswg.org/css-scroll-snap-2/) 5 6 dictionary SnapEventInit : EventInit { 7 Node? snapTargetBlock; 8 Node? snapTargetInline; 9 }; 10 11 [Exposed=Window] 12 interface SnapEvent : Event { 13 constructor(DOMString type, optional SnapEventInit eventInitDict = {}); 14 readonly attribute Node? snapTargetBlock; 15 readonly attribute Node? snapTargetInline; 16 }; 17 18 partial interface mixin GlobalEventHandlers { 19 attribute EventHandler onsnapchanged; 20 attribute EventHandler onsnapchanging; 21 };