Expose alignContent to java
Summary: Expose already existing alignContent property to java Reviewed By: IanChilds Differential Revision: D3709071 fbshipit-source-id: 421d75924ecc12d6d0975e342f3862cf5592f65f
This commit is contained in:
committed by
Facebook Github Bot 7
parent
916170f6ac
commit
e307dc22d1
@@ -319,6 +319,19 @@ public class CSSNode implements CSSNodeAPI<CSSNode> {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public CSSAlign getAlignContent() {
|
||||
return style.alignContent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAlignContent(CSSAlign alignContent) {
|
||||
if (style.alignContent != alignContent) {
|
||||
style.alignContent = alignContent;
|
||||
dirty();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get this node's position type, as defined by style.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user