MCPcopy
hub / github.com/autoNumeric/autoNumeric / nuke

Method nuke

src/AutoNumeric.js:3078–3082  ·  view source on GitHub ↗

* Remove the autoNumeric data and event listeners from the element, and delete the DOM element altogether

()

Source from the content-addressed store, hash-verified

3076 * Remove the autoNumeric data and event listeners from the element, and delete the DOM element altogether
3077 */
3078 nuke() {
3079 this.remove();
3080 // Remove the element from the DOM
3081 this.domElement.parentNode.removeChild(this.domElement);
3082 }
3083
3084
3085 // Special functions that really work on the parent <form> element, instead of the <input> element itself

Callers 2

constructorMethod · 0.80

Calls 1

removeMethod · 0.95

Tested by

no test coverage detected