div-linear-gradient
Linear gradient.
Parameters
Parameters | Description |
---|---|
type |
string Required parameter. The value must always be |
angle |
int Angle of gradient direction. Restriction for the value Default value: |
color_map |
array Colors and positions of gradient points. When using this parameter, the The minimum number of elements is 2. Available platforms: Android, iOS, web. |
colors |
array Colors. Gradient points are located at an equal distance from each other. The minimum number of elements is 2. |
color_point
Parameters | Description |
---|---|
color |
string Required parameter. Gradient color corresponding to gradient point. Valid formats: |
position |
number Required parameter. The position of the gradient point. Restriction for the value |
JSON
{
type*: "gradient",
angle: "int",
color_map: [
{
color*: "string",
position*: "number"
},
...
],
colors: [ "string", ... ]
}
Was the article helpful?
Previous
Next