A2UIComponentScope
One component of a surface as its renderer sees it: its properties, resolved against the surface's data, its children, and what it does when the person uses it.
Values are plain Kotlin values: maps, lists, strings, numbers (Long or Double), booleans and null. A value the agent bound to the data model reads the data model now, and the surface draws again when the data changes.
Read it while composing, on the main thread.
Properties
Functions
Link copied to clipboard
The component with id, placed as this one's child, such as a tab's content.
Link copied to clipboard
Does what the component does when the person uses it: sends its event to the agent, with its context read now, or runs its function.
Link copied to clipboard
Property name as a list of strings.
Link copied to clipboard