From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/html/attributes%2Felementtiming.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 devdocs/html/attributes%2Felementtiming.html (limited to 'devdocs/html/attributes%2Felementtiming.html') diff --git a/devdocs/html/attributes%2Felementtiming.html b/devdocs/html/attributes%2Felementtiming.html new file mode 100644 index 00000000..b4a5d860 --- /dev/null +++ b/devdocs/html/attributes%2Felementtiming.html @@ -0,0 +1,26 @@ +

HTML attribute: elementtiming

+

The elementtiming attribute is used to indicate that an element is flagged for tracking by PerformanceObserver objects using the "element" type. For more details, see the PerformanceElementTiming interface.

This attribute may be applied to <img>, <image> elements inside an <svg>, poster images of <video> elements, elements which have a background-image, and elements containing text nodes, such as a <p>.

In the DOM, this attribute is reflected as Element.elementTiming.

+
+

Usage

+
+

The value given for elementtiming becomes an identifier for the observed element.

+

html

+
<img alt="alt" src="img.jpg" elementtiming="label for element" />
+
+

Good contenders for elements you might want to observe are:

+
+

Examples

+
+

html

+
<img alt="Alt for a main blog post image" src="my-massive-image.jpg" elementtiming="Main image">
+
+<p elementtiming="important-text">Some very important information.</p">
+
+
+

See also

+
+

+ © 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
+ https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/elementtiming +

+
-- cgit v1.2.3