base

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

templ: version: 0.2.476

templ: version: 0.2.476

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Button

func Button(options ButtonOptions, content templ.Component) templ.Component

func Text

func Text(content string) templ.Component

Types

type ButtonOptions

type ButtonOptions struct {
	ID               string
	Class            string
	Style            string
	OnClick          string
	OnContextMenu    string
	OnDoubleClick    string
	OnMouseDown      string
	OnMouseEnter     string
	OnMouseLeave     string
	OnMouseMove      string
	OnMouseOut       string
	OnMouseUp        string
	OnKeyUp          string
	OnKeyDown        string
	OnFocus          string
	OnFocusIn        string
	OnFocusOut       string
	ClickDelay       int
	DoubleClickDelay int
	ContextMenuDelay int
	MouseEnterDelay  int
	MouseLeaveDelay  int
	MouseMoveDelay   int
	MouseDownDelay   int
	MouseUpDelay     int
	MouseOutDelay    int
	KeyUpDelay       int
	KeyDownDelay     int
	FocusDelay       int
	FocusInDelay     int
	FocusOutDelay    int
}

Jump to

Keyboard shortcuts

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