TX Text Control .NET Server

Javascript: TXTextControl.removeFromDom Method

Method|Introduced in 24.0

Description

Closes the WebSocket connection gracefully and removes the whole editor from the DOM.

Syntax

<void> TXTextControl.removeFromDom()

Examples

The following example demonstrates TXTextControl.removeFromDom in a practical document-editing workflow. Closes the WebSocket connection gracefully and removes the whole editor from the DOM.

TXTextControl.removeFromDom();

Further Reading

  • Using TX Text Control MVC in Partial Views –