Home / Function/ default.getHTMLAttributes() — astro Function Reference

default.getHTMLAttributes() — astro Function Reference

Architecture documentation for the default.getHTMLAttributes() function in test-image-service.js from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  26de5ea7_a7ea_c04d_e682_790fecddb360["default.getHTMLAttributes()"]
  a3a5023c_de7a_7c20_72d6_00f3eb2909c6["test-image-service.js"]
  26de5ea7_a7ea_c04d_e682_790fecddb360 -->|defined in| a3a5023c_de7a_7c20_72d6_00f3eb2909c6
  style 26de5ea7_a7ea_c04d_e682_790fecddb360 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/integrations/vercel/test/test-image-service.js lines 19–25

	getHTMLAttributes(options, serviceConfig) {
		options['data-service'] = 'my-custom-service';
		if (serviceConfig.service.config.foo) {
			options['data-service-config'] = serviceConfig.service.config.foo;
		}
		return baseService.getHTMLAttributes(options);
	},

Domain

Subdomains

Frequently Asked Questions

What does default.getHTMLAttributes() do?
default.getHTMLAttributes() is a function in the astro codebase, defined in packages/integrations/vercel/test/test-image-service.js.
Where is default.getHTMLAttributes() defined?
default.getHTMLAttributes() is defined in packages/integrations/vercel/test/test-image-service.js at line 19.

Analyze Your Own Codebase

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

Try Supermodel Free