@JsType(isNative=true,
namespace="<global>",
name="visualViewport")
public class VisualViewport
extends EventTarget
| Modifier and Type | Field and Description |
|---|---|
int |
height |
int |
offsetLeft |
int |
offsetTop |
int |
pageLeft |
int |
pageTop |
int |
scale |
int |
width |
| Constructor and Description |
|---|
VisualViewport() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(String event,
Functions.EventFunc func) |
getOwnPropertyNames, hasOwnProperty, observe@JsProperty public int offsetLeft
@JsProperty public int offsetTop
@JsProperty public int pageLeft
@JsProperty public int pageTop
@JsProperty public int width
@JsProperty public int height
@JsProperty public int scale
public VisualViewport()
@JsMethod public void addEventListener(String event, Functions.EventFunc func)
Copyright © 2023. All rights reserved.