div-animated-text-gradient

An animated gradient applied to text glyphs. The nested static gradient moves indefinitely at a linear speed; when duration is 0 or global animations are disabled, it remains visible without movement.

Parameters

Parameters Description
gradient

object

Required parameter.

Static linear or radial gradient moved by the animation.

The value has the type div-static-text-gradient.

Available platforms: Android.

List of possible values:

  • div-linear-gradient
  • div-radial-gradient
  • type

    string

    Required parameter.

    The value must always be animated.

    Available platforms: Android.

    duration

    int

    Duration of one linear animation cycle in milliseconds. A value of 0 keeps the gradient visible without movement.

    Restriction for the value x: x >= 0.

    Default value: 1600.

    Available platforms: Android.

    JSON
    {
      type*: "animated",
      duration: "int",
      gradient*: div-static-text-gradient
    }