mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-02 18:11:04 +08:00
Signed-off-by: Victor Porof <victorporof@chromium.org> Bug: 1325812 Change-Id: I044170880d20ce0402062755787cccafd63c6a42 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3695370 Reviewed-by: Mathias Bynens <mathias@chromium.org>
28 lines
763 B
Plaintext
28 lines
763 B
Plaintext
// 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;
|
|
};
|