<discard>
<discard>
SVG 元素允许作者指定在何时丢弃特定元素,从而减少 SVG 用户代理所需的资源。这对于帮助 SVG 查看器在显示长时间运行的文档时节省内存特别有用。
<discard>
元素可以出现在 <animate>
元素可以出现的任何位置。
用法
属性
全局属性
专有属性
begin
href (en-US)
(但应注意<discard>
不支持xlink:href
属性)
规范
Specification |
---|
SVG Animations Level 2 # DiscardElement |
浏览器兼容性
BCD tables only load in the browser