컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
차단 > 동작
동작 클래스
하나의 동작에 대한 클래스입니다.
서명:
export declare class Gesture
생성자
속성
속성 |
수정자 |
유형 |
설명 |
currentDropdownOwner |
|
필드 | 없음 |
이 동작이 처음 시작될 때 dropDiv의 소유자입니다. 필드가 이벤트에 따라 실행되기 전에 드롭다운을 닫고 일부 필드는 드롭다운 소유자를 중요시하기 때문에 필요합니다. |
isEnding_ |
protected |
부울 |
폐기 주기를 중단하기 위해 내부적으로 사용되는 부울입니다. |
startWorkspace_ |
protected |
WorkspaceSvg | 없음 |
동작이 시작된 작업공간입니다. 한 페이지에 여러 작업공간이 있을 수 있습니다. 이는 Blockly.common.getMainWorkspace()를 사용하는 것보다 더 정확합니다. |
메서드
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[],["The `Gesture` class manages user interactions, primarily focusing on drags. It stores the starting workspace and tracks the current dropdown owner. Key actions include creating a new `Gesture` instance with an event and workspace. It manages whether the gesture is ending internally, the `getCurrentDragger()` method provides access to the active dragger, and the static method `inProgress()` checks if any gesture is underway across all workspaces.\n"],null,[]]