回答編集履歴
2
markdown
test
CHANGED
@@ -1,6 +1,12 @@
|
|
1
|
+
### EventTarget#handleEvent
|
2
|
+
|
3
|
+
|
4
|
+
|
1
5
|
`Hoge.prototype.handleEvent` にメソッドを定義すれば、下記コードで対応可能てす。
|
2
6
|
|
7
|
+
|
8
|
+
|
3
|
-
https://developer.mozilla.org/ja/docs/Web/API/EventTarget/addEventListener#The_value_of_this_within_the_handler
|
9
|
+
- [EventTarget.addEventListener() - Web API | MDN](https://developer.mozilla.org/ja/docs/Web/API/EventTarget/addEventListener#The_value_of_this_within_the_handler)
|
4
10
|
|
5
11
|
|
6
12
|
|
1
フラグメント識別子を追加
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
`Hoge.prototype.handleEvent` にメソッドを定義すれば、下記コードで対応可能てす。
|
2
2
|
|
3
|
-
https://developer.mozilla.org/ja/docs/Web/API/EventTarget/addEventListener
|
3
|
+
https://developer.mozilla.org/ja/docs/Web/API/EventTarget/addEventListener#The_value_of_this_within_the_handler
|
4
4
|
|
5
5
|
|
6
6
|
|