Raxol.Protocols.CoreProtocols.Component protocol (Raxol v2.0.1)
View SourceProtocol for renderable UI components. Combines functionality from Renderable, Styleable, and EventHandler protocols.
Summary
Functions
Applies styling to the component.
Gets the component's metadata (dimensions, capabilities, etc.).
Handles events sent to the component.
Renders the component to terminal output with the given options.
Validates the component's configuration.
Types
@type t() :: term()
All the types that implement this protocol.
Functions
Applies styling to the component.
Gets the component's metadata (dimensions, capabilities, etc.).
Handles events sent to the component.
Renders the component to terminal output with the given options.
Validates the component's configuration.