JS bindings: Expose HadOverflow property #1773

Open
opened 2024-12-18 13:33:12 -08:00 by ctensmeyer · 0 comments
ctensmeyer commented 2024-12-18 13:33:12 -08:00 (Migrated from github.com)

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.

# Report - [ X] I have searched [existing issues](https://github.com/facebook/yoga/issues) and this is not a duplicate 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 in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DaddyFrosty/yoga#1773
No description provided.