Documentation ¶
Overview ¶
Package keyboard exposes access to displaying and hiding the keyboard.
input := textinput.New(ctx, "input") input.Text = v.text input.KeyboardType = keyboard.URLType input.Responder = v.responder button := ... button.OnTap = func() { v.responder.Dismiss() }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Responder ¶
type Responder struct {
// contains filtered or unexported fields
}
Responder is a model object that represents the keyboard's state. To use Responder it must be attached to a textinput.View.
Click to show internal directories.
Click to hide internal directories.