ResizeObserver
Overview
ResizeObserver is a class in Aspose.Html FOSS for Python.
Headless ResizeObserver API-shape stub.
This class provides 5 methods for working with ResizeObserver 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
| Signature | Description |
|---|---|
__init__(callback: object, options: object) | Calls init(callback, options) on this ResizeObserver 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[ResizeObserverEntry] | Return queued resize records (always empty). |