Class VisualViewport
java.lang.Object
elemental2.dom.VisualViewport
- All Implemented Interfaces:
EventTarget
@JsType(isNative=true,
namespace="<global>")
public class VisualViewport
extends Object
implements EventTarget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
Nested classes/interfaces inherited from interface elemental2.dom.EventTarget
EventTarget.AddEventListenerListenerFn, EventTarget.AddEventListenerOptionsUnionType, EventTarget.RemoveEventListenerListenerFn, EventTarget.RemoveEventListenerOptionsUnionType
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble
double
double
double
double
double
double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEventListener
(String type, EventListener listener) void
addEventListener
(String type, EventListener listener, EventTarget.AddEventListenerOptionsUnionType options) boolean
dispatchEvent
(Event evt) void
removeEventListener
(String type, EventListener listener) void
removeEventListener
(String type, EventListener listener, EventTarget.RemoveEventListenerOptionsUnionType options) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface elemental2.dom.EventTarget
addEventListener, addEventListener, removeEventListener, removeEventListener
-
Field Details
-
height
public double height -
offsetLeft
public double offsetLeft -
offsetTop
public double offsetTop -
onresize
-
onscroll
-
pageLeft
public double pageLeft -
pageTop
public double pageTop -
scale
public double scale -
width
public double width
-
-
Constructor Details
-
VisualViewport
public VisualViewport()
-
-
Method Details
-
addEventListener
public void addEventListener(String type, EventListener listener, EventTarget.AddEventListenerOptionsUnionType options) - Specified by:
addEventListener
in interfaceEventTarget
-
addEventListener
- Specified by:
addEventListener
in interfaceEventTarget
-
dispatchEvent
- Specified by:
dispatchEvent
in interfaceEventTarget
-
removeEventListener
public void removeEventListener(String type, EventListener listener, EventTarget.RemoveEventListenerOptionsUnionType options) - Specified by:
removeEventListener
in interfaceEventTarget
-
removeEventListener
- Specified by:
removeEventListener
in interfaceEventTarget
-