FillRemainingUseStrategy
Defined in: packages/dynamic-design-engine/src/models/layoutElements.ts:232
This indicates that an element should get a share of the remainin space, after all elements with a maximum percentage strategy have already had space allocated
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
shares? | number | The number of shares of the remaining space. For example, if ten centimeters are available, and one item would like 3 shares while the other wants 1, the first item would get 7.5cm and the second item would get 2.5cm. | packages/dynamic-design-engine/src/models/layoutElements.ts:238 |
type | "fill-remaining" | - | packages/dynamic-design-engine/src/models/layoutElements.ts:233 |