angular / 12.2.13 / api / core / destroyplatform.html /

destroyPlatform

function

Destroys the current Angular platform and all Angular applications on the page. Destroys all modules and listeners registered with the platform.

destroyPlatform(): void

Parameters

There are no parameters.

Returns

void

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/core/destroyPlatform