SVGAnimatedBoolean:baseVal 屬性

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.

baseValSVGAnimatedBoolean 介面的屬性,用於表示相關可動畫布林值 SVG 屬性在基礎(未動畫化)狀態下的值。當未應用動畫時,它反映相關可動畫布林值屬性的值。

某些布林值 SVG 屬性(例如 preserveAlpha)是可動畫的。在這種情況下,當屬性設置為 false、被省略且預設為 false,或屬性為可繼承且繼承 false 時,SVGAnimatedBoolean.baseVal 的值為 false;否則,值為 true

一個布林值;對應於反映屬性的基礎值。

規範

Specification
Scalable Vector Graphics (SVG) 2
# __svg__SVGAnimatedBoolean__baseVal

瀏覽器相容性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
baseVal

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

參見