JavaScript

{dialog.object}destroyChildComponent Method

Syntax

{dialog.object}.destroyChildComponent()

Description

Can be used to delete child UX components from memory.

Discussion

A common pattern when building large mobile applications is to break the app into multiple sub-component which are called from a master component.

Once the child component is no longer needed, it is useful to be able to delete the component from memory in order to conserve the limited memory available in the browser. The {dialog.object}.destroyChildComponent() method can be used to delete child UX components from memory.

See Also