SVG
The download property of the 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
Browser compatibility
See also
- download attribute
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
