Baseline Widely available
The insertItemBefore()
method of the SVGNumberList
interface inserts a new item into the list at the specified position. The first item is indexed 0. The inserted item is the item itself and not a copy.
length
, then the new item is appended to the end of the list.insertItemBefore(newItem, index)
Parameters
newItem
The SVGNumber
to add to the list.
index
A non-negative integer that specifies the index of the item to insert the new item before.
The SVGNumber
that was added to the list.
DOMException
NoModificationAllowedError
Thrown if the SVGNumberList
corresponds to a read-only attribute or when the object itself is read-only.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4