12345678910111213141516171819 |
- #import <DOM/Element.idl>
- [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";
- };
|