Documentation
¶
Index ¶
Constants ¶
View Source
const ROOT = 0xff_ff_ff_ff
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdAppendChild ¶
type CmdReplaceNode ¶
type ComboBox ¶
type EditCommand ¶
type EditCommand struct {
AppendChild *CmdAppendChild `json:",omitempty"`
ReplaceNode *CmdReplaceNode `json:",omitempty"`
}
type Label ¶
type Label struct {
Text string `json:"text"`
// contains filtered or unexported fields
}
type Node ¶
type Node struct {
Label *Label `json:",omitempty"`
TextInput *TextInput `json:",omitempty"`
ComboBox *ComboBox `json:",omitempty"`
// contains filtered or unexported fields
}
func (*Node) AddUpdateListener ¶
type TextInput ¶
type TextInput struct {
Text string `json:"text"`
OnChanged string `json:"on_changed"`
// contains filtered or unexported fields
}
func NewTextInput ¶
func NewTextInput() *TextInput
func (*TextInput) AddOnChanged ¶
func (n *TextInput) AddOnChanged(cb func())
type Transaction ¶
type Transaction struct {
ClientId string `json:"client_id"`
Edits []EditCommand `json:"edits"`
}
Click to show internal directories.
Click to hide internal directories.