IPublisherContainerV2
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Row or column of layout nodes.
export interface IPublisherContainerV2
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(ALPHA) In reading order. An empty list renders as a spacer. | |||
string | (ALPHA) (Optional) Matches | ||
boolean | (ALPHA) (Optional) Enforced by the editor, never checked on write. | ||
number | (ALPHA) (Optional) Share of the parent’s main axis, greater than 0. Defaults to 1. | ||
(ALPHA) (Optional) | |||
“row” | “column” | (ALPHA) |
Property details
IPublisherContainerV2.childrenpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
In reading order. An empty list renders as a spacer.
children: PublisherLayoutNodeV2[];
IPublisherContainerV2.idpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Matches [A-Za-z0-9_.-]{1,64}.
id?: string;
IPublisherContainerV2.lockedpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Enforced by the editor, never checked on write.
locked?: boolean;
IPublisherContainerV2.proportionpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Share of the parent’s main axis, greater than 0. Defaults to 1.
proportion?: number;
IPublisherContainerV2.stylepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
style?: IPublisherContainerStyleV2;
IPublisherContainerV2.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
type: "row" | "column";