HTMLImgAttributes Type — svelte Architecture
Architecture documentation for the HTMLImgAttributes type/interface in elements.d.ts from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD ba0cfa16_9f8c_7fa1_dfbd_dcc3a3fc3765["HTMLImgAttributes"] 700a5e5a_a1f3_b441_73c5_83af6017e3aa["elements.d.ts"] ba0cfa16_9f8c_7fa1_dfbd_dcc3a3fc3765 -->|defined in| 700a5e5a_a1f3_b441_73c5_83af6017e3aa style ba0cfa16_9f8c_7fa1_dfbd_dcc3a3fc3765 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/elements.d.ts lines 1027–1044
export interface HTMLImgAttributes extends HTMLAttributes<HTMLImageElement> {
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;
ismap?: boolean | undefined | null;
loading?: 'eager' | 'lazy' | undefined | null;
referrerpolicy?: ReferrerPolicy | undefined | null;
sizes?: string | undefined | null;
src?: string | undefined | null;
srcset?: string | undefined | null;
usemap?: string | undefined | null;
width?: number | string | undefined | null;
readonly 'bind:naturalWidth'?: number | undefined | null;
readonly 'bind:naturalHeight'?: number | undefined | null;
}
Defined In
Source
Frequently Asked Questions
What is the HTMLImgAttributes type?
HTMLImgAttributes is a type/interface in the svelte codebase, defined in packages/svelte/elements.d.ts.
Where is HTMLImgAttributes defined?
HTMLImgAttributes is defined in packages/svelte/elements.d.ts at line 1027.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free