ItemSpec | API - NativeScript

Defines row/column specific properties that apply to GridLayout elements.

Summary

Constructors

constructor

Properties

actualLength

Gets the actual length of an ItemSpec.

gridUnitType

Returns unit type of this ItemSpec instance.

isAbsolute

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

isAuto

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

isStar

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

value

Returns value part of this ItemSpec instance.