調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
ブロックする >ジェスチャー >currentDropdownOwner
ジェスチャー.currentDropdownOwner プロパティ
この操作が最初に開始されたときの dropDiv のオーナーです。これは、フィールドがイベントに対応する前にプルダウンを閉じるためです。一部のフィールドでは、プルダウンの所有者を確認します。
署名:
currentDropdownOwner: Field | null;
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-21 UTC。
[null,null,["最終更新日 2024-08-21 UTC。"],[[["`currentDropdownOwner` stores the initial owner of the dropdown when a gesture begins."],["This property is essential because dropdowns are closed before field events are processed, and some fields need to know the dropdown's owner."],["It helps ensure that fields can react appropriately even after the dropdown is closed during a gesture."]]],["The `currentDropdownOwner` property within the `Gesture` class stores the owner of the dropdownDiv at the start of a gesture. This information, which can be a `Field` or `null`, is crucial because dropdowns are closed before fields handle their events. Certain fields require knowledge of the dropdown's original owner to function correctly.\n"]]