ImgHTMLAttributes Type — astro Architecture
Architecture documentation for the ImgHTMLAttributes type/interface in astro-jsx.d.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD dde635b9_a475_30d2_5455_3b6a39e1109c["ImgHTMLAttributes"] d523c4d2_c1d1_7d83_faae_8b6b7c0c800a["astro-jsx.d.ts"] dde635b9_a475_30d2_5455_3b6a39e1109c -->|defined in| d523c4d2_c1d1_7d83_faae_8b6b7c0c800a style dde635b9_a475_30d2_5455_3b6a39e1109c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/astro-jsx.d.ts lines 774–787
interface ImgHTMLAttributes extends HTMLAttributes {
alt?: string | undefined | null;
crossorigin?: 'anonymous' | 'use-credentials' | '' | undefined | null;
decoding?: 'async' | 'auto' | 'sync' | undefined | null;
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
height?: number | string | undefined | null;
loading?: 'eager' | 'lazy' | undefined | null;
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined | null;
sizes?: string | undefined | null;
src?: string | undefined | null;
srcset?: string | undefined | null;
usemap?: string | undefined | null;
width?: number | string | undefined | null;
}
Defined In
Source
Frequently Asked Questions
What is the ImgHTMLAttributes type?
ImgHTMLAttributes is a type/interface in the astro codebase, defined in packages/astro/astro-jsx.d.ts.
Where is ImgHTMLAttributes defined?
ImgHTMLAttributes is defined in packages/astro/astro-jsx.d.ts at line 774.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free