gomponents

package
v0.0.0-...-109165f Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: CC0-1.0, Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Click

func Click(fn any, opts ...pneuma.Configurator[PneumaMethodAttrOpts]) g.Node

func Keydown

func Keydown(fn any, opts ...pneuma.Configurator[PneumaMethodAttrOpts]) g.Node

func Keyup

func Keyup(fn any, opts ...pneuma.Configurator[PneumaMethodAttrOpts]) g.Node
func Navigate(value ...string) g.Node

func PneumaMethodAttr

func PneumaMethodAttr(event string, method any, opts ...pneuma.Configurator[PneumaMethodAttrOpts]) g.Node

func Prefix

func Prefix(prefix string) g.Node

func Submit

func Submit(fn any, opts ...pneuma.Configurator[PneumaMethodAttrOpts]) g.Node

func WithDebounce

func WithDebounce(debounce int) pneuma.Configurator[PneumaMethodAttrOpts]

Types

type PneumaMethodAttrOpts

type PneumaMethodAttrOpts struct {
	Method   string `json:"method"`
	Key      string `json:"key,omitempty"`
	Debounce int    `json:"debounce,omitempty"`
}

func (PneumaMethodAttrOpts) String

func (p PneumaMethodAttrOpts) String() string

Jump to

Keyboard shortcuts

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