Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

SVGNumber

Nos bénévoles n'ont pas encore traduit cet article en Français. Aidez-nous à réaliser cette tâche !

SVG number interface

The SVGNumber interface correspond 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.

Interface overview

Also implement None
Methods None
Properties
  • float value
Normative document SVG 1.1 (2nd Edition)

Properties

Name Type Description
value float

The value of the given attribute.

Exceptions on setting: a DOMException with code NO_MODIFICATION_ALLOWED_ERR is Raised on an attempt to change the value of a read only attribute.

Methods

The SVGNumber interface do not provide any specific methods.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? ? ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported ? ? ? ?

 

Étiquettes et contributeurs liés au document

 Contributeurs à cette page : fscholz, kscarfone, Sheppy, Jeremie
 Dernière mise à jour par : fscholz,