components

package
v0.0.0-...-d235236 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: BSD-3-Clause 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 {
	*view.ComponentDriver[*Button]
	I       int
	Caption string
}

func (*Button) GetDriver

func (t *Button) GetDriver() view.LiveDriver

func (*Button) GetTemplate

func (t *Button) GetTemplate() string

func (*Button) SetClick

func (t *Button) SetClick(fx func(c *Button, data interface{})) *Button

func (*Button) Start

func (t *Button) Start()

type Clock

type Clock struct {
	*view.ComponentDriver[*Clock]
	ActualTime string
}

func (*Clock) GetDriver

func (t *Clock) GetDriver() view.LiveDriver

func (*Clock) GetTemplate

func (t *Clock) GetTemplate() string

func (*Clock) Start

func (t *Clock) Start()

type InputText

type InputText struct {
	*view.ComponentDriver[*InputText]
}

func (*InputText) Change

func (t *InputText) Change(data interface{})

func (*InputText) GetDriver

func (t *InputText) GetDriver() view.LiveDriver

func (*InputText) GetTemplate

func (t *InputText) GetTemplate() string

func (*InputText) KeyPress

func (t *InputText) KeyPress(data interface{})

func (*InputText) KeyUp

func (t *InputText) KeyUp(data interface{})

func (*InputText) SetKeyUp

func (t *InputText) SetKeyUp(fx func(c *InputText, data interface{})) *InputText

func (*InputText) Start

func (t *InputText) Start()

Jump to

Keyboard shortcuts

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