IPublisherLayoutNodeBaseV1
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Fields common to all layout nodes.
export interface IPublisherLayoutNodeBaseV1
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | (ALPHA) (Optional) Fractional weight of this node inside its parent (flex-grow semantics). Defaults to 1. Example: sibling weights [2, 1] render a 2/3 + 1/3 split. |
Property details
IPublisherLayoutNodeBaseV1.weightpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Fractional weight of this node inside its parent (flex-grow semantics). Defaults to 1. Example: sibling weights [2, 1] render a 2/3 + 1/3 split.
weight?: number;