destructor()
removes a toggle instance and releases the occupied resources
destructor(): void;
Example
form.getItem("toggle").destructor();
removes a toggle instance and releases the occupied resources
Example
form.getItem("toggle").destructor();