canDeleteData method
Determines if character data can be deleted.
canDeleteData(offset, count)
Parameters
unsigned long offset
Offset.
unsigned long count
Number of 16-bit units to delete.
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, or if the specified count is negative.
这对您有帮助吗?