aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web
diff options
context:
space:
mode:
authorSuzukiKatsuma <71871253+SuzukiKatsuma@users.noreply.github.com>2022-03-12 15:49:44 +0900
committerMasahiro FUJIMOTO <mfujimot@gmail.com>2022-03-20 13:34:31 +0900
commit060fb4e4e58d5f0a481acd399be9eb158b72e883 (patch)
treebb6db750ef36f04b4ed57ecf37d63beee9c5a52d /files/ja/web
parent7c290c4780576d227798ecaccac1b3f41b312784 (diff)
downloadtranslated-content-060fb4e4e58d5f0a481acd399be9eb158b72e883.tar.gz
translated-content-060fb4e4e58d5f0a481acd399be9eb158b72e883.tar.bz2
translated-content-060fb4e4e58d5f0a481acd399be9eb158b72e883.zip
2022-03-12時点の原文をコピー
Diffstat (limited to 'files/ja/web')
-rw-r--r--files/ja/web/api/eventlistener/handleevent/index.md50
1 files changed, 50 insertions, 0 deletions
diff --git a/files/ja/web/api/eventlistener/handleevent/index.md b/files/ja/web/api/eventlistener/handleevent/index.md
new file mode 100644
index 0000000000..2f798018e3
--- /dev/null
+++ b/files/ja/web/api/eventlistener/handleevent/index.md
@@ -0,0 +1,50 @@
+---
+title: EventListener.handleEvent()
+slug: Web/API/EventListener/handleEvent
+tags:
+ - API
+ - Callback
+ - DOM
+ - DOM Events
+ - Event Callback
+ - Event Handler
+ - Event Processing
+ - EventListener
+ - Handling Events
+ - Method
+ - Reference
+ - events
+ - handleEvent
+browser-compat: api.EventListener.handleEvent
+---
+{{APIRef("DOM Events")}}
+
+The {{domxref("EventListener")}} method
+**`handleEvent()`** method is called by the
+{{Glossary("user agent")}} when an event is sent to the
+`EventListener`, in order to handle events that occur on an observed
+{{domxref("EventTarget")}}.
+
+## Syntax
+
+```js
+eventListener.handleEvent(event);
+```
+
+### Parameters
+
+- **`event`**
+ - : An {{domxref("Event")}} object describing the event that has been fired and needs
+ to be processed.
+
+### Return value
+
+None.
+
+## Specifications
+
+{{Specifications}}
+
+## Browser compatibility
+
+{{Compat}}