row

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

templ: version: v0.2.793

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func C

func C(def D) templ.Component

Types

type D

type D struct {
	// Header defines if it is a Header row or not.
	Header bool
	// Cells is the slice of cell contents
	// (either []string, []cell.D or []templ.Component or []any mixing the previous types).
	Cells any
	// CustomStyle defines a custom style.
	// 	style.Custom{
	// 		"table/row": style.D{style.Add("...")},
	// 		"table/cell":     style.D{style.Add("...")},
	//	}
	CustomStyle style.Custom
}

D defines a table row (tr).

Jump to

Keyboard shortcuts

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