연구 설문조사: Blockly 사용 경험을 알려주세요
설문조사 시작
차단 > 동작 > currentDropdownOwner
동작.currentDropdownOwner 속성
이 동작이 처음 시작될 때 dropDiv의 소유자입니다. 필드가 이벤트에 따라 실행되기 전에 드롭다운을 닫고 일부 필드는 드롭다운 소유자를 중요시하기 때문에 필요합니다.
서명:
currentDropdownOwner: Field | null;
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]