Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionEvent ¶
type ActionEvent[T any] struct { Action T Engine *Engine[T] Source *trie.Trie[T] Sequence []string // Any regex traversals that matched Args []string }
An action was triggered
type BindEvent ¶ added in v0.1.5
type BindEvent = ActionEvent[Action]
type BindScope ¶ added in v0.1.5
func NewBindScope ¶ added in v0.1.5
func NewBindScope(source interface{}) *BindScope
type Engine ¶
type Engine[T any] struct { deadlock.RWMutex // contains filtered or unexported fields }
func (*Engine[T]) InputMessage ¶ added in v0.1.5
InputMessage directly passes a taro.Msg (which is typically a taro.KeyMsg) into the binding engine. If the key was "consumed", or produced either a partial or full match, InputMessage returns true.
type PartialEvent ¶
There are partial matches
Click to show internal directories.
Click to hide internal directories.