Package-level declarations

Types

Link copied to clipboard
open external class IntersectionObserver(callback: IntersectionObserverCallback, options: IntersectionObserverInit = definedExternally)

provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document's viewport.

Link copied to clipboard

This Intersection Observer API interface describes the intersection between the target element and its root container at a specific moment of transition.

Link copied to clipboard
external interface IntersectionObserverInit
Link copied to clipboard
typealias MutationCallback = (mutations: ReadonlyArray<MutationRecord>, observer: MutationObserver) -> Unit
Link copied to clipboard
open external class MutationObserver(callback: MutationCallback)

Provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification.

Link copied to clipboard
external interface MutationObserverInit
Link copied to clipboard
external class MutationRecord

A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver's callback.

Link copied to clipboard
sealed external interface MutationRecordType
Link copied to clipboard
Link copied to clipboard
sealed external interface ResizeObserverBoxOptions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
external interface ResizeObserverOptions
Link copied to clipboard