MDN self-hosted library · e01.org

Element: elementTiming property

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

html
<img
  src="image.jpg"
  alt="a nice image"
  elementtiming="big-image"
  id="myImage" />
js
const el = document.getElementById("myImage");
console.log(el.elementTiming); // "big-image"