DimensionUnit
constDimensionUnit:object
Defined in: ui/core/dimension.ts:15
How a Dimension’s value is interpreted. Mirrors the C++ u8 unit.
Type Declaration
Section titled “Type Declaration”
readonlyAuto:2=2
Content-/layout-driven; value is ignored.
Percent
Section titled “Percent”
readonlyPercent:1=1
Percentage of the parent’s corresponding axis (0..100).
readonlyPx:0=0
Absolute pixels.