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
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по