GUIx

package module
v0.0.0-...-d7b00d1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: GPL-2.0 Imports: 6 Imported by: 0

README

GUIx

Go UI HTMX Component Library

Documentation

Overview

templ: version: v0.2.501

Index

Constants

View Source
const (
	LinkType       = "link"
	HTMXType       = "htmx"
	FormSubmitType = "submit"
)

Variables

This section is empty.

Functions

func BasicButton

func BasicButton(id, label string, opts ...ButtonOpts) templ.Component

Types

type ButtonOpts

type ButtonOpts struct {
	Key   string
	Value string
}

func HrefOpt

func HrefOpt(href string) ButtonOpts

func LinkOpt

func LinkOpt() ButtonOpts

func WithClass

func WithClass(className string) ButtonOpts

type StyleOption

type StyleOption struct {
	Key   string
	Value string
}

func WithColor

func WithColor(color string) StyleOption

Jump to

Keyboard shortcuts

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