Firefox Tomorrow

web api interface

SVGNumber

View on MDN ↗

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.

Instance properties

  • 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.

Instance methods

This interface doesn’t provide any specific methods.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.