Interface: ElementProps
Framework-neutral element props returned by prop getters. Adapters convert them: React → onClick, tabIndex; Vue → onClick, onKeydown. Attribute values of undefined or false mean "leave the attribute out".
Properties
| Property | Type | Description |
|---|---|---|
attrs | Record<string, string | number | boolean | undefined> | Attributes by DOM name, e.g. aria-expanded, tabindex, id. |
on | Partial<Record<UIEventName, (event) => void>> | Event handlers by DOM event name. |