IPublisherLayoutSectionV1
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
A container splitting its area into children laid out along a direction.
export interface IPublisherLayoutSectionV1 extends IPublisherLayoutNodeBaseV1
Extends: IPublisherLayoutNodeBaseV1
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(ALPHA) | |||
“row” | “column” | (ALPHA) “row” lays children out horizontally, “column” vertically. | ||
(ALPHA) (Optional) Paint of this section’s box. Never affects how children are laid out. | |||
“section” | (ALPHA) |
Property details
IPublisherLayoutSectionV1.childrenpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
children: PublisherPageLayoutNodeV1[];
IPublisherLayoutSectionV1.directionpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
“row” lays children out horizontally, “column” vertically.
direction: "row" | "column";
IPublisherLayoutSectionV1.stylepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Paint of this section’s box. Never affects how children are laid out.
style?: IPublisherBoxStyleV1;
IPublisherLayoutSectionV1.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
type: "section";