Package-level declarations
Types
Link copied to clipboard
The ResizeObserver
interface reports changes to the dimensions of an Element's content or border box, or the bounding box of an SVGElement.
Link copied to clipboard
Link copied to clipboard
typealias ResizeObserverCallback = (entries: ReadonlyArray<ResizeObserverEntry>, observer: ResizeObserver) -> Unit
Link copied to clipboard
class ResizeObserverEntry
The ResizeObserverEntry
interface represents the object passed to the ResizeObserver.ResizeObserver constructor's callback function, which allows you to access the new dimensions of the Element or SVGElement being observed.
Link copied to clipboard
interface ResizeObserverOptions
Link copied to clipboard
class ResizeObserverSize
The ResizeObserverSize
interface of the Resize Observer API is used by the ResizeObserverEntry interface to access the box sizing properties of the element being observed.