Home / Function/ updateInputState() — astro Function Reference

updateInputState() — astro Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

	updateInputState() {
		this.input.checked = this.hasAttribute('checked');
		this.input.disabled = this.hasAttribute('disabled');
		this.input.name = this.getAttribute('name') || '';
		this.input.value = this.getAttribute('value') || '';
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free