Skip to content

Application.destroy method

Application › destroy

Unofficial

Destroys the application.

Signature:

destroy(removeView?: boolean | undefined, stageOptions?: boolean | IDestroyOptions | undefined): void

Parameters:

Parameter Type Description
removeView? boolean | undefined Whether to remove the view from the DOM.
stageOptions? boolean | IDestroyOptions | undefined Options for destroying the stage.

Returns: void