button

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Button

type Button struct {
	*dom.Element
	Text    string
	Variant string // "primary", "secondary", "danger"
	OnClick func(dom.Event)
}

func (*Button) IconSvg added in v0.0.5

func (b *Button) IconSvg() map[string]string

func (*Button) Render added in v0.0.5

func (b *Button) Render() *dom.Element

func (*Button) RenderCSS

func (b *Button) RenderCSS() string

Jump to

Keyboard shortcuts

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