ui.root.clear

Clears the root panel.

Usage Returns
ui.root.clear()

No arguments.

Examples

Code Editor (JavaScript)

 // Replace the default UI widgets with a few custom widgets. 
 ui 
 . 
 root 
 . 
 clear 
 (); 
 ui 
 . 
 root 
 . 
 add 
 ( 
 ui 
 . 
 Label 
 ( 
 'This is a custom user interface.' 
 )); 
Create a Mobile Website
View Site in Mobile | Classic
Share by: