Home / Type/ HTMLTextareaAttributes Type — svelte Architecture

HTMLTextareaAttributes Type — svelte Architecture

Architecture documentation for the HTMLTextareaAttributes type/interface in elements.d.ts from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  c1fca99e_1b5d_d91b_3932_dea567d57b25["HTMLTextareaAttributes"]
  700a5e5a_a1f3_b441_73c5_83af6017e3aa["elements.d.ts"]
  c1fca99e_1b5d_d91b_3932_dea567d57b25 -->|defined in| 700a5e5a_a1f3_b441_73c5_83af6017e3aa
  style c1fca99e_1b5d_d91b_3932_dea567d57b25 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/elements.d.ts lines 1391–1414

export interface HTMLTextareaAttributes extends HTMLAttributes<HTMLTextAreaElement> {
	autocomplete?: FullAutoFill | undefined | null;
	cols?: number | undefined | null;
	dirname?: string | undefined | null;
	disabled?: boolean | undefined | null;
	form?: string | undefined | null;
	maxlength?: number | undefined | null;
	minlength?: number | undefined | null;
	name?: string | undefined | null;
	placeholder?: string | undefined | null;
	readonly?: boolean | undefined | null;
	required?: boolean | undefined | null;
	rows?: number | undefined | null;
	value?: string | string[] | number | undefined | null;
	// needs both casing variants because language tools does lowercase names of non-shorthand attributes
	defaultValue?: string | string[] | number | undefined | null;
	defaultvalue?: string | string[] | number | undefined | null;
	wrap?: 'hard' | 'soft' | 'off' | undefined | null;

	'on:change'?: ChangeEventHandler<HTMLTextAreaElement> | undefined | null;
	onchange?: ChangeEventHandler<HTMLTextAreaElement> | undefined | null;

	'bind:value'?: any;
}

Frequently Asked Questions

What is the HTMLTextareaAttributes type?
HTMLTextareaAttributes is a type/interface in the svelte codebase, defined in packages/svelte/elements.d.ts.
Where is HTMLTextareaAttributes defined?
HTMLTextareaAttributes is defined in packages/svelte/elements.d.ts at line 1391.

Analyze Your Own Codebase

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

Try Supermodel Free