set

The set element provides a simple means of just setting the value of an attribute for a specified duration. It supports all attribute types, including those that cannot reasonably be interpolated, such as string and boolean values. The set element is non-additive. The additive and accumulate attributes are not allowed, and will be ignored if specified.

Usage context

Categories Animation element
Permitted content Any number of the following elements, in any order:
Descriptive elements »
Normative document SVG 1.1 (2nd Edition)

Example

Attributes

Global attributes

Specific attributes

DOM Interface

This element implements the SVGSetElement interface.

See also

Document Tags and Contributors

Contributors to this page: kscarfone, Jeremie
Last updated by: kscarfone,