IntersectionObserver

IntersectionObserver

Overview

IntersectionObserver is a class in Aspose.Html FOSS for Python.

Headless IntersectionObserver API-shape stub.

This class provides 5 methods for working with IntersectionObserver objects in Python programs. Available methods include: __init__, disconnect, observe, take_records, unobserve. All public members are accessible to any Python application after installing the Aspose.Html FOSS for Python package.

Methods

SignatureDescription
__init__(callback: object, options: object)Calls init(callback, options) on this IntersectionObserver instance.
observe(target: object)Register target for observation (no-op stub).
unobserve(target: object)Unregister target from observation (no-op stub).
disconnect()Stop observation for all targets (no-op stub).
take_records()list[IntersectionObserverEntry]Return queued intersection records (always empty).

See Also