Skip to content

Application.destroy method

Application › destroy

Unofficial

Destroys the application.

Signature:

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

Parameters:

ParameterTypeDescription
removeView?boolean | undefinedWhether to remove the view from the DOM.
stageOptions?boolean | IDestroyOptions | undefinedOptions for destroying the stage.

Returns: void