You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2-ui/2-events/03-event-delegation/4-behavior-tooltip/task.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ You'll need two events here:
31
31
-`mouseover` -- 요소 안으로 포인터가 이동할 때 발생하는 이벤트
32
32
-`mouseout`-- 요소 밖으로 포인터가 이동할 때 발생하는 이벤트
33
33
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` 속성이 있는 요소 안이나 밖으로 마우스 포인터가 이동하는 경우를 모두 감지하고 두 핸들러를 통해 툴팁을 보여주거나 감추시면 됩니다.
35
35
36
36
After the behavior is implemented, even people unfamiliar with JavaScript can add annotated elements.
0 commit comments