textarea

package
v0.0.0-...-8815ff5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

templ: version: v0.3.960

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Textarea

func Textarea(args TextareaArgs) templ.Component

Types

type TextareaArgs

type TextareaArgs struct {
	Class       string           // Additional CSS classes
	Placeholder string           // Placeholder text
	Value       string           // Textarea value
	Name        string           // Textarea name attribute
	ID          string           // Textarea ID attribute
	FormID      string           // Form ID for automatic data-bind (optional)
	Rows        int              // Number of rows (default: 4)
	Disabled    bool             // Whether textarea is disabled
	Required    bool             // Whether textarea is required
	Borderless  bool             // Whether to remove border and focus styles
	Attributes  templ.Attributes // Additional HTML attributes
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL