diff options
author | SuzukiKatsuma <71871253+SuzukiKatsuma@users.noreply.github.com> | 2022-03-12 15:49:44 +0900 |
---|---|---|
committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2022-03-20 13:34:31 +0900 |
commit | 060fb4e4e58d5f0a481acd399be9eb158b72e883 (patch) | |
tree | bb6db750ef36f04b4ed57ecf37d63beee9c5a52d /files/ja | |
parent | 7c290c4780576d227798ecaccac1b3f41b312784 (diff) | |
download | translated-content-060fb4e4e58d5f0a481acd399be9eb158b72e883.tar.gz translated-content-060fb4e4e58d5f0a481acd399be9eb158b72e883.tar.bz2 translated-content-060fb4e4e58d5f0a481acd399be9eb158b72e883.zip |
2022-03-12時点の原文をコピー
Diffstat (limited to 'files/ja')
-rw-r--r-- | files/ja/web/api/eventlistener/handleevent/index.md | 50 |
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}} |