blob: e4507aebad1efe1d5f2240c78577cd771643a6de [file] [log] [blame] [edit]
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Visual Viewport API (https://wicg.github.io/visual-viewport/)
partial interface Window {
[SameObject, Replaceable] readonly attribute VisualViewport visualViewport;
};
[Exposed=Window]
interface VisualViewport : EventTarget {
readonly attribute double offsetLeft;
readonly attribute double offsetTop;
readonly attribute double pageLeft;
readonly attribute double pageTop;
readonly attribute double width;
readonly attribute double height;
readonly attribute double scale;
readonly attribute FrozenArray<DOMRect>? segments;
attribute EventHandler onresize;
attribute EventHandler onscroll;
};