SVGLengthList: removeItem() 方法
SVGLengthList 介面的 removeItem() 方法會從列表中移除指定索引處的現有項。
語法
js
removeItem(index)
引數
index-
一個非負整數,指定要刪除的項的索引。
返回值
從列表中移除的 SVGLength 物件。
異常
NoModificationAllowedErrorDOMException-
在列表為只讀時丟擲。
IndexSizeErrorDOMException-
當索引超出列表範圍時丟擲。
示例
請參閱 SVGLengthList 獲取完整示例。
規範
| 規範 |
|---|
| Scalable Vector Graphics (SVG) 2 # __svg__SVGNameList__removeItem |
瀏覽器相容性
載入中…