Skip to content

Commit

Permalink
Add support for lazy loading images. Fixes #1571 (#1572)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6c878f0)
  • Loading branch information
dessalines authored and Sampo Kivistö committed Aug 21, 2021
1 parent 592e065 commit e34e287
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/inferno/src/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2470,6 +2470,7 @@ declare global {
allowTransparency?: boolean;
frameBorder?: number | string;
height?: number | string;
loading?: 'eager' | 'lazy';
marginHeight?: number;
marginWidth?: number;
name?: string;
Expand All @@ -2485,6 +2486,7 @@ declare global {
alt?: string;
crossOrigin?: 'anonymous' | 'use-credentials' | '';
height?: number | string;
loading?: 'eager' | 'lazy';
sizes?: string;
src?: string;
srcSet?: string;
Expand Down

0 comments on commit e34e287

Please sign in to comment.