SVGAnimatedBoolean:animVal 屬性
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
SVGAnimatedBoolean
介面的 animVal
唯讀屬性表示相關可動畫布林 SVG 屬性的當前動畫值。如果屬性未被動畫化,animVal
與 SVGAnimatedBoolean.baseVal
相同。
某些布林 SVG 屬性(例如 preserveAlpha
)是可動畫的。在這種情況下,當屬性值解析為 true 時,SVGAnimatedBoolean.animVal
的值為 true
;否則,值為 false
。
值
一個布林值;對應於可動畫布林屬性的值。
規範
Specification |
---|
Scalable Vector Graphics (SVG) 2 # __svg__SVGAnimatedBoolean__animVal |
瀏覽器相容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
animVal |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.