ReadonlyidUnique identifier for this participant
ReadonlylayoutThe layout node owned by this participant. Created and managed by the participant, synced from BoxModel.
Apply the computed layout to the visual representation. Called after layout computation completes.
The final computed layout values
Measure the content size of this component. Called during Pass 2 (measure) of the layout algorithm.
For containers, return { width: 0, height: 0 } - children determine size. For leaf nodes, return the intrinsic content size.
The measured content size in pixels
Sync style changes from BoxModel to LayoutNode. Called when BoxModel properties change.
Protocol for components that participate in the flex layout system.
Components implement this interface to:
Example