Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
SVGSymbolElement インターフェイスは <symbol> 要素に対応します。
EventTarget Node Element SVGElement SVGGraphicsElement SVGSymbolElementこのインターフェイスには、親インターフェイスである SVGGraphicsElement から継承したプロパティもあります。
SVGSymbolElement.viewBox 読取専用SVGAnimatedRect で、指定された <symbol> 要素の viewBox 属性に対応します。
SVGSymbolElement.preserveAspectRatio 読取専用SVGAnimatedPreserveAspectRatio で、指定された <symbol> 要素の preserveAspectRatio 属性に対応します。
このインターフェイスには固有のメソッドはありませんが、親インターフェイスである SVGGraphicsElement から継承したメソッドがあります。
| Scalable Vector Graphics (SVG) 2 # InterfaceSVGSymbolElement |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2026年4月27日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.