調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
ブロックする >FieldDropdown >isOptionListDynamic
FieldDropdown.isOptionListDynamic() メソッド
署名:
isOptionListDynamic(): boolean;
戻り値:
ブール値
オプション リストが関数によって生成される場合は true。それ以外の場合は、false です。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-09 UTC。
[null,null,["最終更新日 2024-09-09 UTC。"],[[["The `Field.setEnabled()` method controls whether a field's value can be modified by the user when the block is editable."],["This method accepts a single boolean parameter, `enabled`, which is set to `true` to enable editing of the field and `false` to disable it."],["Calling `Field.setEnabled()` does not return any value."]]],["The `FieldDropdown.isOptionListDynamic()` method checks how a dropdown's options are generated. It returns a boolean value: `true` if the options are created dynamically by a function, and `false` if they are statically defined. The method's core function is to determine the nature of the option list's source, whether dynamic or static.\n"]]