MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

The SVGNumber interface corresponds to the <number> basic data type.

An SVGNumber object can be designated as read only, which means that attempts to modify the object will result in an exception being thrown.

Properties

SVGNumber.value
A float representing the number.

Note: If the SVGNumber is read-only, a DOMException with the code NO_MODIFICATION_ALLOWED_ERR is raised on an attempt to change the value.

Methods

This interface doesn't provide any specific methods.

Specifications

Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of 'SVGNumber' in that specification.
Candidate Recommendation No change
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'SVGNumber' in that specification.
Recommendation Initial definition

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? (Yes) ? ? ? ?
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support No support (Yes) ? ? ? ?

ドキュメントのタグと貢献者

 このページの貢献者: Sebastianz, mattwojo, fscholz, kscarfone, Sheppy, Jeremie
 最終更新者: Sebastianz,