div-fixed-size

Fixed size of an element.

Parameters

Parameters Description
type

string

Required parameter.

The value must always be fixed.

value

int

Required parameter.

Element size.

Restriction for the value x: x >= 0.

unit

string

Unit of measurement. To learn more about units of size measurement, see Layout inside the card.

Possible values: dp, sp, px.

Default value: dp.

JSON
{
  type*: "fixed",
  unit: "string",
  value*: "int"
}