SVGViewElement

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.

SVGViewElement 接口提供了对 <view> 元素属性的访问,以及对其进行操作的方法。

EventTarget Node Element SVGElement SVGViewElement

实例属性

该接口还继承了其父接口 SVGElement 的属性。

实例方法

该接口没有实现任何特定方法,但继承了其父接口 SVGElement 的方法。

规范

Specification
Scalable Vector Graphics (SVG) 2
# InterfaceSVGViewElement

浏览器兼容性

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
SVGViewElement
preserveAspectRatio
viewBox

Legend

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

Full support
Full support

参见