Menu Home

discard

osbo.com | SVG | Elements | discard

The discard SVG element specifies the time at which particular elements are discarded.

This reduces the resources required by an SVG user agent and is useful to help SVG viewers conserve memory while displaying long-running documents. This element will not be processed by static SVG viewers.

Syntax

Attributes

begin

Specifies when the target element will be discarded.

Value
<begin-value-list>
Default
0s

href

Specifies a Uniform Resource Locator (URL) reference to the element.

Value
<url>
Default
(none)

Examples

begin

<begin-value-list>

href

<url>

Internal

animate

animateMotion

animateTransform

mpath

set

External

World Wide Web Consortium (W3C)