Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldControl ¶
type FieldControl struct {
// contains filtered or unexported fields
}
FieldControl provides control logic for a Field element, handling various events such as keyboard inputs and clipboard actions.
func New ¶
func New(f *field.Field) *FieldControl
New creates and returns a new FieldControl for the given Field element.
func (*FieldControl) Control ¶
func (c *FieldControl) Control(ctx context.Context, app eventlink.App, e event.Eventer, prior control.DoFunc)
Control processes events for the FieldControl, updating the Field element based on keyboard and clipboard inputs. It delegates to the prior control function for unhandled events.
Click to show internal directories.
Click to hide internal directories.