Removes an editable region from the collection. The region's text is not removed.
Introduced: X18.
<void> EditableRegionCollection.remove(<EditableRegion> editableRegion, [<boolean> selectedPart], [<RequestBooleanCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
editable |
Specifies the editable region to remove. |
selected |
Optional. When this parameter is true, only the selected part of the editable region is removed. If the selection is in the middle od the region, it is split into two parts with the same parameters. |
callback | Optional. Receives whether the removal was successful. |
error |
Optional. Is called when the operation failed with an error. |