canInsertData method
Determines if character data can be inserted.
canInsertData(offset, arg)
Parameters
unsigned long offset
Offset.
String arg
Argument to be set.
Returns
unsigned short. A validation state constant.
Throws
DOMException
INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than the number of 16-bit units in data.
这对您有帮助吗?