Back to Content

additive

files/en-us/web/svg/reference/attribute/additive/index.md

latest1.4 KB
Original Source

The additive attribute controls whether or not an animation is additive.

It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values.

You can use this attribute with the following SVG elements:

  • {{SVGElement("animate")}}
  • {{SVGElement("animateMotion")}}
  • {{SVGElement("animateTransform")}}

Usage notes

<table class="properties"> <tbody> <tr> <th scope="row">Value</th> <td><code>replace</code> | <code>sum</code></td> </tr> <tr> <th scope="row">Default value</th> <td><code>replace</code></td> </tr> <tr> <th scope="row">Animatable</th> <td>No</td> </tr> </tbody> </table>
  • sum
    • : Specifies that the animation will add to the underlying value of the attribute and other lower priority animations.
  • replace

Specifications

{{Specifications}}

See also