event

package
v0.13.66 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(evts ...*Event) html.SingleAttr

Types

type Event

type Event struct {
	// contains filtered or unexported fields
}

func New

func New(name string, format string, values ...any) (e *Event)

func NewJS

func NewJS(name string, format string, values ...any) (e *Event)

func (Event) Code

func (e Event) Code() string

func (*Event) Handle

func (e *Event) Handle() html.SingleAttr

func (*Event) IsHandled added in v0.13.60

func (e *Event) IsHandled() bool

func (*Event) Join

func (e *Event) Join(evts ...*Event) Events

func (Event) Name

func (e Event) Name() string

func (Event) OnClick

func (e Event) OnClick() html.SingleAttr

func (Event) OnDblClick

func (e Event) OnDblClick() html.SingleAttr

func (Event) OnInput

func (e Event) OnInput() html.SingleAttr

func (Event) OnKeyUp added in v0.13.60

func (e Event) OnKeyUp() html.SingleAttr

func (Event) OnLoad added in v0.13.60

func (e Event) OnLoad() html.SingleAttr

type Events

type Events []*Event

func (Events) Handle

func (e Events) Handle() html.SingleAttr

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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