Documentation ¶
Index ¶
Constants ¶
View Source
const (
HelloEditorID = "hello_editor"
)
View Source
const (
OutputEditorID = "output_editor"
)
View Source
const (
PrintButtonID = "print_button"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloEditor ¶
type HelloEditor struct {
// contains filtered or unexported fields
}
HelloEditor input view
func NewHelloEditor ¶
func NewHelloEditor(handler func()) *HelloEditor
func (*HelloEditor) Get ¶
func (h *HelloEditor) Get() any
func (*HelloEditor) Handler ¶
func (h *HelloEditor) Handler()
func (*HelloEditor) ID ¶
func (h *HelloEditor) ID() string
func (*HelloEditor) Set ¶
func (h *HelloEditor) Set(data any)
type HelloEditorData ¶
type HelloEditorData struct {
Value string
}
type OutputEditor ¶
type OutputEditor struct {
// contains filtered or unexported fields
}
OutputEditor output readonly view
func NewOutputEditor ¶
func NewOutputEditor() *OutputEditor
func (*OutputEditor) Get ¶
func (l *OutputEditor) Get() any
func (*OutputEditor) Handler ¶
func (l *OutputEditor) Handler()
func (*OutputEditor) ID ¶
func (l *OutputEditor) ID() string
func (*OutputEditor) Set ¶
func (l *OutputEditor) Set(data any)
type OutputEditorData ¶
type OutputEditorData struct {
Value string
}
type PrintButton ¶
type PrintButton struct {
// contains filtered or unexported fields
}
PrintButton button view
func NewPrintButton ¶
func NewPrintButton(handler func()) *PrintButton
func (*PrintButton) Get ¶
func (l *PrintButton) Get() any
func (*PrintButton) Handler ¶
func (l *PrintButton) Handler()
func (*PrintButton) ID ¶
func (l *PrintButton) ID() string
func (*PrintButton) Set ¶
func (l *PrintButton) Set(data any)
Click to show internal directories.
Click to hide internal directories.