Skip to content

Commit 4247345

Browse files
usablepaperViolet-Bora-Lee
authored andcommitted
[이벤트 위임] 과제4 문제 번역 - line 34(#1313)
1 parent 0a9ee71 commit 4247345

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/2-events/03-event-delegation/4-behavior-tooltip

1 file changed

+1
-1
lines changed

2-ui/2-events/03-event-delegation/4-behavior-tooltip/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ You'll need two events here:
3131
- `mouseover` -- 요소 안으로 포인터가 이동할 때 발생하는 이벤트
3232
- `mouseout`-- 요소 밖으로 포인터가 이동할 때 발생하는 이벤트
3333

34-
Please use event delegation: set up two handlers on `document` to track all "overs" and "outs" from elements with `data-tooltip` and manage tooltips from there.
34+
이벤트 위임을 사용해서 두 개의 핸들러만으로 원하는 기능을 구현하세요. `document`에 핸들러를 추가해 `data-tooltip` 속성이 있는 요소 안이나 밖으로 마우스 포인터가 이동하는 경우를 모두 감지하고 두 핸들러를 통해 툴팁을 보여주거나 감추시면 됩니다.
3535

3636
After the behavior is implemented, even people unfamiliar with JavaScript can add annotated elements.
3737

0 commit comments

Comments
 (0)