* Remove the dataset attributes `data-an-count` and `data-an-form-handler` from the parent form element. * * @private
()
| 1490 | * @private |
| 1491 | */ |
| 1492 | _removeFormDataSetInfo() { |
| 1493 | // Just in case, set the counter to 0 |
| 1494 | this._decrementParentFormCounter(); |
| 1495 | // Remove the form handler function from the FormHandlerFunction Map |
| 1496 | window.aNFormHandlerMap.delete(this._getFormHandlerKey()); |
| 1497 | // Lastly, remove the dataset attributes |
| 1498 | this.parentForm.removeAttribute('data-an-count'); |
| 1499 | this.parentForm.removeAttribute('data-an-form-handler'); |
| 1500 | } |
| 1501 | |
| 1502 | /** |
| 1503 | * Set the DOM element write permissions according to the current settings, by setting the `readonly` or `contenteditable` attributes depending on its tag type. |
no test coverage detected