Back to Content

SVGAElement: download property

files/en-us/web/api/svgaelement/download/index.md

latest665 B
Original Source

{{APIRef("SVG")}}

The download property of the {{domxref("SVGAElement")}} interface returns a string indicating that the browser should treat the linked URL as a download.

This property can be set, to change the URL's download value. It reflects the value of the download attribute.

[!NOTE] This value might not be used for download. This value cannot be used to determine whether the download will occur.

Value

A string.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also