[go: up one dir, main page]

Module emitters

Module emitters 

Source
Expand description

§roost emitters

Emitters are the interactive bridge between user input and component behavior.

Each emitter listens for raw input events and translates them into meaningful, component-specific events.

Structs§

Button
The Button emitter wraps a drawable component and converts mouse input into a small set of semantic button states:
Scrollable
Selectable
The Selectable emitter allows one item in a group to be active at a time. When pressed, it emits an event with its unique ID and group ID, allowing other components in the same group to update their state accordingly.
Slider
The Slider emitter wraps a drawable component and converts mouse input into a small set of semantic slider states:
TextInput
The TextInput emitter wraps a drawable component and converts raw input into a small set of semantic text input states: