From 2c4c99d00d39784d0d041bef524d2e29c6b3c5df Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 15 Jun 2023 09:27:59 -0600 Subject: [PATCH] Api: All images lazy load Try to stop when lots of images block the rest of the rendering --- api/js/etemplate/Et2Image/Et2Image.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/js/etemplate/Et2Image/Et2Image.ts b/api/js/etemplate/Et2Image/Et2Image.ts index 14f084ab54..2d33ea2eb4 100644 --- a/api/js/etemplate/Et2Image/Et2Image.ts +++ b/api/js/etemplate/Et2Image/Et2Image.ts @@ -121,6 +121,7 @@ export class Et2Image extends Et2Widget(SlotMixin(LitElement)) implements et2_ID src="${src}" alt="${this.label}" part="image" + loading="lazy" title="${this.statustext || this.label}" >`; }