SVGLengthList

< svg‎ | objects
Jump to: navigation, search

SVGLengthList

This article is Not Ready.



Inherits from SVGElement

Properties

No properties.

Methods

No methods.

Events

No events.

Inherited from SVGElement

Properties

No properties.

Methods

No methods.

Events

No events.


Compatibility

There is no data available for topic "webapi", feature "SVGLengthList". If you think that there should be data available, consider opening an issue.

Examples

The following code example declares the SVGLengthList object as read-only and identifies the appropriate exceptions to raise.

interface SVGLengthList {
  readonly attribute unsigned long numberOfItems;
  void clear() raises(DOMException);
  SVGLength initialize(in SVGLength newItem) raises(DOMException);
  SVGLength getItem(in unsigned long index) raises(DOMException);
  SVGLength insertItemBefore(in SVGLength newItem, in unsigned long index) raises(DOMException);
  SVGLength replaceItem(in SVGLength newItem, in unsigned long index) raises(DOMException);
  SVGLength removeItem(in unsigned long index) raises(DOMException);
  SVGLength appendItem(in SVGLength newItem) raises(DOMException);
};

Notes

Remarks

Note: In addition to the attributes, properties, events, methods, and styles listed above, SVG elements also inherent core HTML attributes, properties, events, methods, and styles.

You can designate an SVGLengthList object as read-only, so that any attempts to modify the object cause a NoModificationAllowedError exception that is defined during initialization.

Standards information

Members

The SVGLengthList object has these methods:

  • appendItem: Inserts a new item at the end of the list.
  • clear: Clears all existing items from the list, which creates an empty list.
  • getItem: Returns the specified item from a list.
  • initialize: Clears current items from the list and re-initializes the list to contain the specified item.
  • insertItemBefore: Inserts a new item into a list at a specified position.
  • removeItem: Removes an existing item from the list.
  • replaceItem: Replaces a specified existing item in the list with a specified new item.

The SVGLengthList object has these properties:

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]