components

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

templ: version: v0.2.639

templ: version: v0.2.639

templ: version: v0.2.639

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alerts

func Alerts() templ.Component

func CollapseWrapper

func CollapseWrapper() templ.Component

func Error

func Error(err error) templ.Component

func TimezoneOptions

func TimezoneOptions() templ.Component

func WrapArrIfNotEmpty

func WrapArrIfNotEmpty[T any, M Array[T]](f func(M) templ.Component, arr M) templ.Component

func WrapMapIfNotEmpty

func WrapMapIfNotEmpty[T any, E comparable, M Map[T, E]](f func(M) templ.Component, arr M) templ.Component

Types

type Array

type Array[T any] interface {
	~[]T
}

type Map

type Map[T any, K comparable] interface {
	~map[K]T
}

Jump to

Keyboard shortcuts

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