ui.root.clear

Czyści panel główny.

WykorzystanieZwroty
ui.root.clear()

Brak argumentów.

Przykłady

Edytor kodu (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.'));