SVGNameList

abstract external class SVGNameList (source)

Platform and version requirements: JS

Constructors

<init>

SVGNameList()

Properties

length

open val length: Int

numberOfItems

open val numberOfItems: Int

Functions

appendItem

fun appendItem(newItem: dynamic): dynamic

clear

fun clear()

getItem

fun getItem(index: Int): dynamic

initialize

fun initialize(newItem: dynamic): dynamic

insertItemBefore

fun insertItemBefore(newItem: dynamic, index: Int): dynamic

removeItem

fun removeItem(index: Int): dynamic

replaceItem

fun replaceItem(newItem: dynamic, index: Int): dynamic

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.

Extension Functions

get

operator fun SVGNameList.get(index: Int): dynamic

set

operator fun SVGNameList.set(index: Int, newItem: dynamic)