JS bindings for setAlwaysFormsContainingBlock (#1541)

Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1541

tsia

Reviewed By: NickGerleman

Differential Revision: D52608426

fbshipit-source-id: 19fa01d87cbae3457adb9cdb9e0cb602b7afa619
This commit is contained in:
Joe Vilches
2024-01-08 20:28:49 -08:00
committed by Facebook GitHub Bot
parent 47e9f33eb4
commit e4ab593686
4 changed files with 11 additions and 0 deletions

View File

@@ -160,6 +160,9 @@ EMSCRIPTEN_BINDINGS(YOGA_LAYOUT) {
.function("getParent", &Node::getParent, allow_raw_pointers())
.function("getChild", &Node::getChild, allow_raw_pointers())
.function(
"setAlwaysFormsContainingBlock", &Node::setAlwaysFormsContainingBlock)
.function("isReferenceBaseline", &Node::isReferenceBaseline)
.function("setIsReferenceBaseline", &Node::setIsReferenceBaseline)