div-wrap-content-size
The size of an element adjusts to its contents.
Parameters
Parameters | Description |
---|---|
type |
string Required parameter. The value must always be |
constrained |
bool_int The final size mustn't exceed the parent one. On iOS and in a default browser |
max_size |
object Maximum size of an element. The value has the type |
min_size |
object Minimum size of an element. The value has the type |
JSON
{
type*: "wrap_content",
constrained: "bool_int",
max_size: {
unit: "string",
value*: "int"
},
min_size: {
unit: "string",
value*: "int"
}
}
Copied
Was the article helpful?
Previous
Next