A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/Event/currentTarget below:

currentTarget ยท WebPlatform Docs

currentTarget Summary

Gets the event target that is currently being processed.

Property of dom/Eventdom/Event

Syntax

Note: This property is read-only.

var currentTargetElement = event.currentTarget;
Return Value

Returns an object of type DOM NodeDOM Node

The current target of the event.

Usage
 Use this property to get the element for which the current event handler is being processed, during the capturing and bubbling phases.
Notes

The target property returns the element that originally received an event. At event phase AT_TARGET, the currentTarget and target objects are the same object.

Related specifications
DOM Level 3 Events
Working Draft
See also Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4