Skip to content

Commit

Permalink
Patch Lazy Loading
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Feb 15, 2024
1 parent 48274bc commit 43a9d19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/thorin-core/src/avatar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export class ThorinAvatar extends LitElement {
</svg>`
: html`<img
src="${avatarUrl}"
loading="lazy"
@load="${this.handleLoad}"
@error="${this.handleError}"
/>`}
Expand Down

0 comments on commit 43a9d19

Please sign in to comment.