html

package
v0.0.0-...-92cbc5b Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

templ: version: v0.3.906

templ: version: v0.3.906

templ: version: v0.3.906

templ: version: v0.3.906

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsButton

func AsButton() linkOptionFunc

func Button

func Button(bt ButtonType, value, name string) templ.Component

func H1

func H1() templ.Component

func H2

func H2() templ.Component
func Link(href string, optionalArgs ...linkOptionFunc) templ.Component

func LinkButton

func LinkButton(href string, optionalArgs ...linkOptionFunc) templ.Component

func WithClass

func WithClass(class string) linkOptionFunc

func WithHxConfirm

func WithHxConfirm(hxConfirm string) linkOptionFunc

func WithHxDelete

func WithHxDelete(hxDelete string) linkOptionFunc

func WithHxGet

func WithHxGet(hxGet string) linkOptionFunc

func WithHxSwap

func WithHxSwap(hxSwap string) linkOptionFunc

func WithHxTarget

func WithHxTarget(hxTarget string) linkOptionFunc

func WithTarget

func WithTarget(target string) linkOptionFunc

func WithText

func WithText(text string) linkOptionFunc

Types

type ButtonType

type ButtonType string
const (
	SubmitButton ButtonType = "submit"
	ResetButton  ButtonType = "reset"
)

Jump to

Keyboard shortcuts

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