πŸš€ 8.9 Released! β†’ ⚑️ New Node-API Engine Preview, πŸ“² ns widget ios, πŸ’… Tailwind v4 and more...
Read Announcement
ItemSpec
Defines row/column specific properties that apply to GridLayout elements.

Summary ​

Constructors ​

constructor ​

new ItemSpec(value: number, type: GridUnitType): ItemSpec 
Parameter Default Description
value
number
Returns ItemSpec

Properties ​

actualLength ​

actualLength: number
Gets the actual length of an ItemSpec.

gridUnitType ​

gridUnitType: GridUnitType 
Returns unit type of this ItemSpec instance.

isAbsolute ​

isAbsolute: boolean
Returns true if this ItemSpec instance holds an absolute (pixel) value.

isAuto ​

isAuto: boolean
Returns true if this GridLength instance is automatic (not specified).

isStar ​

isStar: boolean
Returns true if this ItemSpec instance holds weighted proportion of available space.

value ​

value: number
Returns value part of this ItemSpec instance.

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /