ui.root.clear

ルートパネルをクリアします。

用途戻り値
ui.root.clear()

引数はありません。

コードエディタ(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.'));