Thanks to visit codestin.com
Credit goes to angular-docs.tr

    • Genel Bakış
@angular/core

destroyPlatform

function
kararlı

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

API

function destroyPlatform(): void;
@returnsvoid

Description

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

This function should not be used in a server environment, as it will be a no-op.

Detaylara atla