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

JS bindings: Expose HadOverflow property #1773

Open
ctensmeyer opened this issue Dec 18, 2024 · 0 comments
Open

JS bindings: Expose HadOverflow property #1773

ctensmeyer opened this issue Dec 18, 2024 · 0 comments

Comments

@ctensmeyer
Copy link

Report

The struct in javascript/src/Layout.h only exposes top, left, right, bottom, width, and height properties, while the C API in yoga/YGNodeLayout.h additionally has YGNodeLayoutGetHadOverflow(). Can a wrapper for YGNodeLayoutGetHadOverflow() get added to the JS bindings?

Note this isn't the Overflow style property (which is already the JS bindings), but the flag set during the layout algorithm to indicate the Node overflows.

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

No branches or pull requests

1 participant