Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bindings for ResizeObserver #2701

Merged
merged 3 commits into from
Oct 20, 2021

Conversation

Liamolucko
Copy link
Collaborator

Fixes #2289

The API is still a draft, so perhaps this should be behind --cfg=web_sys_unstable_apis? I've just put it in stable for now.

I had to add a `Constructor` attribute to `ResizeObserver`, since the new constructor syntax isn't supported yet (rustwasm#1952).
@alexcrichton
Copy link
Contributor

Thanks for this! If the API is still in draft state though can you add this to the unstable directory?

@alexcrichton
Copy link
Contributor

Gonna try to kick CI

@alexcrichton
Copy link
Contributor

Hm ok well this looks good to me so I'll see what happens to CI on merge.

@alexcrichton alexcrichton merged commit e447729 into rustwasm:master Oct 20, 2021
@Liamolucko Liamolucko deleted the resize-observer branch November 18, 2021 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ResizeObserver in web-sys
2 participants