WebIDLpedia

SnapEvent interface

Definition

CSS Scroll Snap Module Level 2 defines SnapEvent



[Exposed=Window]
interface SnapEvent : Event {
  constructor(DOMString type, optional SnapEventInit eventInitDict = {});
  readonly attribute Node? snapTargetBlock;
  readonly attribute Node? snapTargetInline;
};

Methods and attributes that return objects implementing SnapEvent