Skip to content

Application.destroy method

Application › destroy

Unofficial

Destroys the application.

Signature:

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

Parameters:

ParameterTypeDescription
removeView?booleanWhether to remove the view from the DOM.
stageOptions?boolean | IDestroyOptionsOptions for destroying the stage.

Returns: void