用途 | 戻り値 |
---|---|
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.'));
用途 | 戻り値 |
---|---|
ui.root.clear() |
引数はありません。
// Replace the default UI widgets with a few custom widgets. ui.root.clear(); ui.root.add(ui.Label('This is a custom user interface.'));
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。