StandardControl.destroy
This method is invoked when the component is to be removed from the DOM tree. Use it for the cleanup and to release any memory that the component is using.
Available for
Model-driven apps, canvas apps, & portals.
Syntax
destroy()
Example
public destroy(): void
{
this.button.removeEventListener("click", this.onButtonClick);
}
Related articles
Control
Power Apps component framework API reference
Power Apps component framework overview
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru