mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
18 lines
404 B
Plaintext
18 lines
404 B
Plaintext
[Exposed=(Window)]
|
|
interface ResizeObserver {
|
|
|
|
// FIXME: This should be a ResizeObserverCallback.
|
|
constructor(any callback);
|
|
undefined observe(Element target, optional ResizeObserverOptions options = {});
|
|
undefined unobserve(Element target);
|
|
undefined disconnect();
|
|
|
|
};
|
|
|
|
dictionary ResizeObserverOptions {
|
|
|
|
// FIXME: This should be an enum.
|
|
DOMString box = "content-box";
|
|
|
|
};
|