Class IntersectionObserver
- java.lang.Object
-
- de.knightsoftnet.mtwidgets.client.jswrapper.IntersectionObserver
-
@JsType(isNative=true) public abstract class IntersectionObserver extends Object
-
-
Constructor Summary
Constructors Constructor Description IntersectionObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisconnect()Disconnects.voidobserve(elemental2.dom.HTMLElement target)Observes the target.ObjecttakeRecords()Takes records.voidunobserve(elemental2.dom.HTMLElement target)Removes the target from observation.
-
-
-
Method Detail
-
observe
public void observe(elemental2.dom.HTMLElement target)
Observes the target.- Parameters:
target- the target
-
unobserve
public void unobserve(elemental2.dom.HTMLElement target)
Removes the target from observation.- Parameters:
target- the target
-
disconnect
public void disconnect()
Disconnects.
-
takeRecords
public Object takeRecords()
Takes records.- Returns:
- the records
-
-