Home / Function/ attributeChangedCallback() — astro Function Reference

attributeChangedCallback() — astro Function Reference

Architecture documentation for the attributeChangedCallback() function in radio-checkbox.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  f9923869_4de8_1c1c_143f_81bf5b35f7cf["attributeChangedCallback()"]
  04f58904_0d97_86ee_add0_b47eed49defc["DevToolbarRadioCheckbox"]
  f9923869_4de8_1c1c_143f_81bf5b35f7cf -->|defined in| 04f58904_0d97_86ee_add0_b47eed49defc
  d7781143_da85_efaf_3b08_e265e1a4c38c["updateInputState()"]
  f9923869_4de8_1c1c_143f_81bf5b35f7cf -->|calls| d7781143_da85_efaf_3b08_e265e1a4c38c
  style f9923869_4de8_1c1c_143f_81bf5b35f7cf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/runtime/client/dev-toolbar/ui-library/radio-checkbox.ts lines 114–120

	attributeChangedCallback() {
		if (this.hasAttribute('radio-style')) {
			this.radioStyle = this.getAttribute('radio-style') as RadioStyle;
		}

		this.updateInputState();
	}

Domain

Subdomains

Frequently Asked Questions

What does attributeChangedCallback() do?
attributeChangedCallback() is a function in the astro codebase, defined in packages/astro/src/runtime/client/dev-toolbar/ui-library/radio-checkbox.ts.
Where is attributeChangedCallback() defined?
attributeChangedCallback() is defined in packages/astro/src/runtime/client/dev-toolbar/ui-library/radio-checkbox.ts at line 114.
What does attributeChangedCallback() call?
attributeChangedCallback() calls 1 function(s): updateInputState.

Analyze Your Own Codebase

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

Try Supermodel Free