Class IntersectionObserver


  • @JsType(isNative=true)
    public abstract class IntersectionObserver
    extends Object
    • Constructor Detail

      • IntersectionObserver

        public IntersectionObserver()
    • 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