Home / Type/ ImgHTMLAttributes Type — astro Architecture

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
  c13e70e7_3661_1c36_630d_4d72c4f7dc27["ImgHTMLAttributes"]
  a6b1e08e_2697_036f_1969_86462fc5f61d["astro-jsx.d.ts"]
  c13e70e7_3661_1c36_630d_4d72c4f7dc27 -->|defined in| a6b1e08e_2697_036f_1969_86462fc5f61d
  style c13e70e7_3661_1c36_630d_4d72c4f7dc27 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/language-tools/language-server/types/astro-jsx.d.ts lines 715–727

	interface ImgHTMLAttributes extends HTMLAttributes {
		alt?: string | undefined | null;
		crossorigin?: 'anonymous' | 'use-credentials' | '' | undefined | null;
		decoding?: 'async' | 'auto' | 'sync' | 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;
	}

Frequently Asked Questions

What is the ImgHTMLAttributes type?
ImgHTMLAttributes is a type/interface in the astro codebase, defined in packages/language-tools/language-server/types/astro-jsx.d.ts.
Where is ImgHTMLAttributes defined?
ImgHTMLAttributes is defined in packages/language-tools/language-server/types/astro-jsx.d.ts at line 715.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free