Blockly가 2025년 11월 10일에 Raspberry Pi Foundation으로 이전되었습니다. 블로그 게시물과 FAQ를 읽어보세요.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
차단 > IDeleteArea
IDeleteArea 인터페이스
위에 드롭된 블록이나 풍선을 삭제할 수 있는 구성요소의 인터페이스입니다.
서명:
export interface IDeleteArea extends IDragTarget
확장: IDragTarget
메서드
| 메서드 |
설명 |
| wouldDelete(element) |
이 영역에 드롭되면 제공된 블록 또는 풍선이 삭제될지 여부를 반환합니다. 이 메서드는 요소가 삭제 가능한지, 항상 onDragEnter/onDragOver/onDragExit 전에 호출되는지 확인해야 합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[],["The `IDeleteArea` interface defines a component that handles the deletion of blocks or bubbles dropped onto it. It extends the `IDragTarget` interface and includes one core method: `wouldDelete(element)`. This method determines if a dragged block or bubble would be deleted upon dropping within the area. It checks for deletability before any drag-related events.\n"]]