Home / Type/ HTMLButtonAttributes Type — svelte Architecture

HTMLButtonAttributes Type — svelte Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/svelte/elements.d.ts lines 900–929

export interface HTMLButtonAttributes extends HTMLAttributes<HTMLButtonElement> {
	disabled?: boolean | undefined | null;
	form?: string | undefined | null;
	formaction?: string | undefined | null;
	formenctype?:
		| 'application/x-www-form-urlencoded'
		| 'multipart/form-data'
		| 'text/plain'
		| undefined
		| null;
	formmethod?: 'dialog' | 'get' | 'post' | 'DIALOG' | 'GET' | 'POST' | undefined | null;
	formnovalidate?: boolean | undefined | null;
	formtarget?: string | undefined | null;
	name?: string | undefined | null;
	type?: 'submit' | 'reset' | 'button' | undefined | null;
	value?: string | string[] | number | undefined | null;
	popovertarget?: string | undefined | null;
	popovertargetaction?: 'toggle' | 'show' | 'hide' | undefined | null;
	command?:
		| 'show-modal'
		| 'close'
		| 'request-close'
		| 'show-popover'
		| 'hide-popover'
		| 'toggle-popover'
		| (string & {})
		| undefined
		| null;
	commandfor?: string | undefined | null;
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free