SVGNumberList: removeItem() 方法
SVGNumberList 介面的 removeItem() 方法會移除列表中給定索引處的現有專案。
語法
js
removeItem(index)
引數
index-
一個非負整數,指定要刪除的項的索引。
返回值
從列表中移除的 SVGNumber。
異常
NoModificationAllowedErrorDOMException-
如果
SVGNumberList對應於只讀屬性或物件本身是隻讀的,則會引發此異常。 IndexSizeErrorDOMException-
當索引超出列表範圍時丟擲。
規範
| 規範 |
|---|
| Scalable Vector Graphics (SVG) 2 # __svg__SVGNameList__removeItem |
瀏覽器相容性
載入中…