Changes between Version 1 and Version 2 of SVG properties


Ignore:
Timestamp:
Mar 7, 2019 1:25:40 PM (5 years ago)
Author:
Said Abou-Hallawa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SVG properties

    v1 v2  
    11**SVG Properties**
     2
     3What is an SVG property?
     4
     5It is a data type which can be primitive DOM type or SVG type. Example of primitive types are int, float, boolean. Examples for DOM type is DOMString. And examples for SVG types are SVGNumber, SVGNumberList, SVGLength, SVGLengthList, SVGAngle, SVGPoint, SVGPointList.
     6
     7What is so special about SVG property?
     8
     91. It has its own DOM interface which is separate from getAttribute() and setAttribute() methods.
     102. It is a reflection of a DOM attribute. This means, setAttribute() should, affect the SVG property once it is called. Also getAttribute() should reflect the latest changed value of the SVG property.