Introduce CSSNode.Create API
Summary: Add a convenience construction method for CSSNode. CSSNode node = CSSNode.Create( positionType: CSSPositionType.Absolute, wrap: CSSWrap.Wrap, position: new Spacing(top:6, right:4), margin: new Spacing(bottom:5, left:3)); Reviewed By: emilsjolander Differential Revision: D4193380 fbshipit-source-id: 30b917f64e92997355a76e3b11799883b86fb9de
This commit is contained in:
committed by
Facebook Github Bot
parent
32ba5ae647
commit
7e4bb732ff
@@ -15,7 +15,7 @@ using System.Text;
|
||||
|
||||
namespace Facebook.CSSLayout
|
||||
{
|
||||
public class CSSNode : IEnumerable<CSSNode>
|
||||
public partial class CSSNode : IEnumerable<CSSNode>
|
||||
{
|
||||
private IntPtr _cssNode;
|
||||
private WeakReference _parent;
|
||||
|
Reference in New Issue
Block a user